File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
src/main/java/tc/oc/occ/nitro Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 2727 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2828 with :
2929 tag_name : NitroCloudy-${{github.sha}}
30- release_name : Release ${{github.sha}}
30+ release_name : Release NitroCloudy- ${{github.sha}}
3131 draft : false
3232 prerelease : false
3333 - name : Upload Release Asset
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ public void onNitroAdd(NitroUserAddEvent event) {
4545 // Iterate through the list of strings from redemption-commands in the config
4646 for (String redemptionCommand :
4747 api .getConfig ().getRedemptionCommands (event .getUser ().getPlayerId ().toString ())) {
48+ // Print the redemption command(s) in console
49+ Bukkit .getConsoleSender ().sendMessage ("[Nitro] Executing redemption command: " + redemptionCommand );
4850 // Execute the command
4951 if (redemptionCommand .contains ("%s" )) {
5052 Bukkit .getServer ()
@@ -85,6 +87,8 @@ public void onNitroRemove(NitroUserRemoveEvent event) {
8587 // Iterate through the list of strings from removal-commands in the config
8688 for (String removalCommand :
8789 api .getConfig ().getRemovalCommands (event .getUser ().getPlayerId ().toString ())) {
90+ // Print the removal command(s) in console
91+ Bukkit .getConsoleSender ().sendMessage ("[Nitro] Executing removal command: " + removalCommand );
8892 // Execute the command
8993 if (removalCommand .contains ("%s" )) {
9094 Bukkit .getServer ()
You can’t perform that action at this time.
0 commit comments