Skip to content

Commit cc9df9a

Browse files
committed
add plan to readme
1 parent b05c308 commit cc9df9a

File tree

1 file changed

+43
-1
lines changed

1 file changed

+43
-1
lines changed

README.md

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A minecraft (**java**) plugin that lets you **run repetitive tasks** with **delay** and a lot more ! Configurable by UI or chat ! learn more with the **links 🔗** bellow !
44

5-
Already **950 downloads ⏬**, **THANK YOU** !
5+
Already **990 downloads ⏬**, **THANK YOU** !
66

77
## Spigot 🔗
88
>Download the ressource via spigot page :
@@ -15,3 +15,45 @@ https://www.spigotmc.org/resources/acmd-%E2%8F%B0-%E2%8F%B3-autocommands-1-13-1-
1515
## wiki 🔗
1616

1717
>https://github.com/AutoPluginsDev/Documentation/wiki/AutoCommands-%5BACMD%5D
18+
19+
## Future Refactoring
20+
21+
Use two config files, one to adresse template commands, and one to adresse state of the command
22+
23+
> (why not using a DB for the state of the command ?)
24+
25+
### config file
26+
27+
register the command data that are not changing, like the commands registered, for the acmd, the delay etc...
28+
29+
30+
#### Example
31+
32+
**commandTemplates.yml**
33+
```yml
34+
35+
example2:
36+
active: false # CA TEJ
37+
TaskParameters:
38+
name: AcmdExample2
39+
cycle: 6000
40+
delay: 200
41+
repetition: -1
42+
commands:
43+
- say Dont forget to join our Discord !
44+
message: ''
45+
running: false # CA TEJ
46+
DailySchedulerParameters:
47+
time: ''
48+
```
49+
50+
**commandStates.yml**
51+
```yml
52+
1:
53+
template: example2
54+
running: false
55+
active: false
56+
executor: server
57+
58+
```
59+

0 commit comments

Comments
 (0)