Skript Version (do not put latest): Skript 2.3.7
Skript Author: Bensku
Minecraft Version: 1.14.3-1.14.4
---
Full Code:
Code (Skript):
Command "/gmc":
trigger:
make player execute the command "/gamemode creative"
Command "/gms":
trigger:
make player execute the command "/gamemode survival"
Command "/gmsp":
trigger:
make player execute the command "/gamemode creative"
Command "/gma":
trigger:
make player execute the command "/gamemode adventure"
Command /sudo <player> <text>:
if {SUDO_OPT} is true
trigger:
make arg-1 execute command arg-2
send "&c&lSUDO &7Made %arg-1% execute %arg-2%"
Command /fcommand <text>:
if {FCOMM_OPT} is true
trigger:
make console execute the command "%arg-1%"
#UPDATE-CONFIG CHECK AREA | DON'T TOUCH |
on skript start:
trigger:
set {NEWEST_VERSION} to line 2 of url "https://pastebin.com/raw/amWVVsZ8"
if {NEWEST_VERSION} is not 0.1:
send "&c[ServerUtilities] New version is out! Download from here:" to console and player
else:
stop
#CONFIG-READER AREA | DON'T TOUCH |
on skript start:
trigger:
set {SUDO_OPT} to line 6 of url "https://pastebin.com/raw/amWVVsZ8"
send "&c[ServerUtilities] Sudo= {SUDO_OPT}" to console and player
on skript start:
trigger:
set {FCOMM_OPT} to line 8 of url "https://pastebin.com/raw/amWVVsZ8"
send "&c[ServerUtilities] Force command= {FCOMM_OPT}" to console and player
on skript start:
trigger:
set {NP_P} to line 12 of url "https://pastebin.com/raw/amWVVsZ8"
on skript start:
trigger:
set {DIS_CMD} to line 14 of url "https://pastebin.com/raw/amWVVsZ8"
on skript start:
trigger:
set {CMD_EXE} to line 16 of url "https://pastebin.com/raw/amWVVsZ8"
Errors on Reload:
Nothing... Skript loaded correctly
Console Errors: (if applicable)
https://pastebin.com/raw/b4g25ZEz
Other Useful Info:
Addons using (including versions):
Noone
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes (Found similar problems but not this)
What other methods have you tried to fix it? (Asked on discord: remove the "" from the on command trigger or replace "on command" with "command". Unable to try to downgrade the version because it will break my entire server
Skript Author: Bensku
Minecraft Version: 1.14.3-1.14.4
---
Full Code:
Code (Skript):
Command "/gmc":
trigger:
make player execute the command "/gamemode creative"
Command "/gms":
trigger:
make player execute the command "/gamemode survival"
Command "/gmsp":
trigger:
make player execute the command "/gamemode creative"
Command "/gma":
trigger:
make player execute the command "/gamemode adventure"
Command /sudo <player> <text>:
if {SUDO_OPT} is true
trigger:
make arg-1 execute command arg-2
send "&c&lSUDO &7Made %arg-1% execute %arg-2%"
Command /fcommand <text>:
if {FCOMM_OPT} is true
trigger:
make console execute the command "%arg-1%"
#UPDATE-CONFIG CHECK AREA | DON'T TOUCH |
on skript start:
trigger:
set {NEWEST_VERSION} to line 2 of url "https://pastebin.com/raw/amWVVsZ8"
if {NEWEST_VERSION} is not 0.1:
send "&c[ServerUtilities] New version is out! Download from here:" to console and player
else:
stop
#CONFIG-READER AREA | DON'T TOUCH |
on skript start:
trigger:
set {SUDO_OPT} to line 6 of url "https://pastebin.com/raw/amWVVsZ8"
send "&c[ServerUtilities] Sudo= {SUDO_OPT}" to console and player
on skript start:
trigger:
set {FCOMM_OPT} to line 8 of url "https://pastebin.com/raw/amWVVsZ8"
send "&c[ServerUtilities] Force command= {FCOMM_OPT}" to console and player
on skript start:
trigger:
set {NP_P} to line 12 of url "https://pastebin.com/raw/amWVVsZ8"
on skript start:
trigger:
set {DIS_CMD} to line 14 of url "https://pastebin.com/raw/amWVVsZ8"
on skript start:
trigger:
set {CMD_EXE} to line 16 of url "https://pastebin.com/raw/amWVVsZ8"
Errors on Reload:
Nothing... Skript loaded correctly
Console Errors: (if applicable)
https://pastebin.com/raw/b4g25ZEz
Other Useful Info:
Addons using (including versions):
Noone
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes (Found similar problems but not this)
What other methods have you tried to fix it? (Asked on discord: remove the "" from the on command trigger or replace "on command" with "command". Unable to try to downgrade the version because it will break my entire server