File tree Expand file tree Collapse file tree 1 file changed +79
-0
lines changed Expand file tree Collapse file tree 1 file changed +79
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Auto Command Refactor
2
+
3
+ > priorities
4
+
5
+ 1 . ` management of file loading `
6
+ 2 . ` AutoCommand storage `
7
+ 3 . ` modelisation in-code > acmd class ` - ` migration `
8
+ 4 . ` CLI `
9
+ 5 . ` EDITOR `
10
+ 6 . ` next features `
11
+
12
+ ## migration
13
+
14
+ copy/rename the old data (.old)
15
+
16
+ create the migration file
17
+
18
+ create the new file
19
+
20
+ ## management of file loading
21
+
22
+ make it clean.
23
+ make it robust.
24
+
25
+ ## modelisation in-code
26
+
27
+ ### acmd class
28
+
29
+ improve loading
30
+
31
+ being robust on loading the commands for executions
32
+
33
+ event based system
34
+
35
+ ### CLI
36
+
37
+ factorize a maximum
38
+
39
+ rename parameters
40
+
41
+ ### EDITOR
42
+
43
+ rename parameters
44
+
45
+ for now is ok
46
+
47
+ ## AutoCommand storage
48
+
49
+ > definition -> plugins/autocommands/commands.yml
50
+
51
+ ``` yml
52
+ string :
53
+ display_name : string
54
+ start_delay : int
55
+ period : int
56
+ repetitions : int
57
+ minecraft_commands : list<string>
58
+ per_player_commands : list<string>
59
+ message : string
60
+ daily_execution_time : <hh<H or :>mm or hh.mm <pm or am>>
61
+ triggers : list<string>
62
+ ` ` `
63
+
64
+ > runtime -> plugins/autocommands/run/commands_runtime.yml
65
+
66
+ ` ` ` yml
67
+ string :
68
+ active : bool
69
+ running : bool
70
+ ` ` `
71
+
72
+ logs -> plugins/autocommands/run/commands_logs.csv
73
+
74
+ # next features
75
+
76
+ - dry run the commands on demand (print for the user running the test)
77
+ - auto add execution permissions for acmd
78
+ - check permission level needed per command per player
79
+ - conditions on acmd (number of players, time...)
You can’t perform that action at this time.
0 commit comments