Skip to content

Commit d162d47

Browse files
committed
resolve
2 parents a90f22a + 3a5fa11 commit d162d47

File tree

5 files changed

+21
-14
lines changed

5 files changed

+21
-14
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
run: mvn clean package
2222

2323
- name: Upload artifact
24-
uses: actions/upload-artifact@v2
24+
uses: actions/upload-artifact@v4
2525
with:
2626
name: AutoCommand-${{ vars.TARGET_VERSION }}
2727
path: target/*.jar
2828

2929
release:
30-
if: github.ref == 'refs/heads/master'
30+
if: github.ref == 'refs/heads/master' && !startsWith(github.event.head_commit.message, 'chore:')
3131
needs: build
3232
runs-on: ubuntu-latest
3333
environment: env

README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,29 @@
11
# AutoCommands 🤖
22

3-
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 !
3+
## Preview
44

5-
Already **990 downloads ⏬**, **THANK YOU** !
5+
<img alt="Discord" src="https://img.shields.io/discord/944007562938957824?style=for-the-badge&logo=discord&link=https%3A%2F%2Fdiscord.gg%2FsV2KxsGJHN">
6+
<img alt="GitHub commits since latest release" src="https://img.shields.io/github/commits-since/lumi-git/autocommands/latest?style=for-the-badge">
7+
<img alt="bStats Servers" src="https://img.shields.io/bstats/servers/21737?style=for-the-badge&label=number%20of%20servers%20currently%20using%20ACMD">
8+
<img alt="bStats Servers" src="https://img.shields.io/bstats/players/21737?style=for-the-badge&label=number%20of%20players%20currently%20using%20ACMD">
9+
10+
11+
A minecraft (java) spigot plugin that let's you **run repetitive tasks** with **delay** and a lot more ! Configurable by UI and chat ! learn more with the **links 🔗** bellow !
612

713
## Spigot 🔗
814
>Download the ressource via spigot page :
915
https://www.spigotmc.org/resources/acmd-%E2%8F%B0-%E2%8F%B3-autocommands-1-13-1-20-4.100090/
16+
Don't hesitate to leave a review if you liked it !
1017

1118
## bStat 🔗
12-
19+
This plugin use bStat to better understand server administrator usage. You can disable it in your server options.
1320
>https://bstats.org/plugin/bukkit/ACMD/21737
1421
15-
## wiki 🔗
16-
22+
## Wiki 🔗
23+
Please read it first before open an issue. 🪲
1724
>https://github.com/AutoPluginsDev/Documentation/wiki/AutoCommands-%5BACMD%5D
1825
19-
## release workflow
26+
## Release workflow rules
2027

2128
1. First go to environment "env" and change the variable to the targeted tag/version
2229

@@ -28,4 +35,3 @@ https://www.spigotmc.org/resources/acmd-%E2%8F%B0-%E2%8F%B3-autocommands-1-13-1-
2835

2936

3037

31-

src/main/java/fr/lumi/Commandes/CommandRunnerCommand.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ public boolean onCommand(CommandSender sender, Command command, String label, St
198198
if (args.length == 2) {
199199
plugin.getModificationLock().lock(((Player)player).getUniqueId().toString());
200200
plugin.getAcmdGUIEditor().openACMDEditor((Player) sender, plugin.getcommandList().indexOf(acmd));
201+
201202
return true;
202203
}
203204

src/main/java/fr/lumi/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public String callGithubForTag() {
166166
StringBuilder response = new StringBuilder();
167167
try {
168168
// Make HTTP GET request
169-
URL url = new URL("https://api.github.com/repos/lumi-git/AutoCommands/tags");
169+
URL url = new URL("https://api.github.com/repos/AutoPluginsDev/AutoCommands/tags");
170170
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
171171
connection.setRequestMethod("GET");
172172
connection.setRequestProperty("Accept", "application/json");

src/main/java/fr/lumi/Util/CommandEditor.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,20 +177,20 @@ public void GuiClickEvent(InventoryClickEvent e) {
177177
case 3:
178178
waitForChat = "period";
179179

180-
p.sendMessage(plugin.getUt().replacePlaceHoldersForPlayerPlgVar("&4Type the period in the chat in tick (format : integer , type exit to exit) :"));
180+
p.sendMessage(plugin.getUt().replacePlaceHoldersForPlayerPlgVar("&4Type the period in the chat in tick (format : integer, type exit to exit) :"));
181181
closeInventory(p);
182182
break;
183183

184184
case 4:
185185
waitForChat = "delay";
186186

187-
p.sendMessage(plugin.getUt().replacePlaceHoldersForPlayerPlgVar("&4Type the delay in the chat in tick (format : integer , type exit to exit) :"));
187+
p.sendMessage(plugin.getUt().replacePlaceHoldersForPlayerPlgVar("&4Type the delay in the chat in tick (format : integer, type exit to exit) :"));
188188
closeInventory(p);
189189
break;
190190
case 5:
191191
waitForChat = "hour";
192192

193-
p.sendMessage(plugin.getUt().replacePlaceHoldersForPlayerPlgVar("&4Type the hour in the chat (format : 18H02 , type exit to exit) :"));
193+
p.sendMessage(plugin.getUt().replacePlaceHoldersForPlayerPlgVar("&4Type the hour in the chat (example : 18H02, type exit to exit) :"));
194194
closeInventory(p);
195195
break;
196196
case 6:
@@ -208,7 +208,7 @@ public void GuiClickEvent(InventoryClickEvent e) {
208208
case 8:
209209
waitForChat = "message";
210210

211-
p.sendMessage(plugin.getUt().replacePlaceHoldersForPlayerPlgVar("&4Type the hour in the chat (format : & usables , type exit to exit) :"));
211+
p.sendMessage(plugin.getUt().replacePlaceHoldersForPlayerPlgVar("&4Type the hour in the chat (tips : use & + color , type \"exit\" to exit) :"));
212212
closeInventory(p);
213213
break;
214214
case 9:

0 commit comments

Comments
 (0)