Version de Minecraft : 1.8 Version de Skript : 2.2
Addons utilisés:Addon1, Addon2, ...
Type du skript : skript maqué plugins
Description du script :
Bonjour, voilà j'ai fais un skript pour bloquer les commandes pour l'acces aux plugins.
Tous fonctionne parfaitement sauf le blocage des commandes avec tab.
Voici mon skript :
on command "/?":
send "&4Vous n'avez pas la permission de faire /?"
cancel event
on command "/bukkit:help":
send "&4Vous n'avez pas la permission de faire /bukkit:help"
cancel event
on command "//calc":
send "&4Vous n'avez pas la permission de faire //calc"
cancel event
on command "/ver":
send "&4Vous n'avez pas la permission de faire /ver"
cancel event
on command "/version":
send "&4Vous n'avez pas la permission de faire /version"
cancel event
on command "/pl":
send "&4Vous n'avez pas la permission de faire /pl"
cancel event
on command "/plugins":
send "&4Vous n'avez pas la permission de faire /plugins"
cancel event
on command "/bukkit:pl":
send "&4Vous n'avez pas la permission de faire /bukkit:pl"
cancel event
on command "/bukkit:plugins":
send "&4Vous n'avez pas la permission de faire /bukkit:plugins"
cancel event
on command "/bukkit:?":
send "&4Vous n'avez pas la permission de faire /bukkit:?"
cancel event
on command "/bukkit:me":
send "&4Vous n'avez pas la permission de faire /bukkit:me"
cancel event
command /ver <text>:
usage: &4Vous n'avez pas la permision de faire /ver [<TAB>]
trigger:
if arg 1 is not set:
message "&4Vous n'avez pas la permission de faire /ver [<TAB>]"
if arg 1 is "[<tab>]":
message "&4Vous n'avez pas la permission de faire /ver [<TAB>]"
command /about <text>:
usage: &4Vous n'avez pas la permision de faire /about [<TAB>]
trigger:
if arg 1 is not set:
message "&4Vous n'avez pas la permission de faire /about [<TAB>]"
if arg 1 is "[<tab>]":
message "&4Vous n'avez pas la permission de faire /about [<TAB>]"
command /bukkit:about <text>:
usage: &4Vous n'avez pas la permision de faire /bukkit:about [<TAB>]
trigger:
if arg 1 is not set:
message "&4Vous n'avez pas la permission de faire /bukkit:about [<TAB>]"
if arg 1 is "[<tab>]":
message "&4Vous n'avez pas la permission de faire /bukkit:about [<TAB>]"
on command "/minecraft:me":
send "&4Vous n'avez pas la permission de faire /minecraft:me"
cancel event
on command "/about":
send "&4Vous n'avez pas la permission de faire /about"
cancel event
on command "/bukkit:ver":
send "&4Vous n'avez pas la permission de faire /bukkit:ver"
cancel event
on command "/bukkit:version":
send "&4Vous n'avez pas la permission de faire /bukkit:version"
cancel event
command /<text>:
usage: &4Vous n'avez pas la permision de faire /[<TAB>]
trigger:
if arg 1 is not set:
message "&4Vous n'avez pas la permission de faire /[<TAB>]"
if arg 1 is "[<tab>]":
message "&4Vous n'avez pas la permission de faire /[<TAB>]"
Et voici mon message d'erreur :
[06:57:31 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (bloquecmd.sk, line 45: if arg 1 is not set:')
[06:57:31 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (bloquecmd.sk, line 47: if arg 1 is "[<tab>]":')
[06:57:31 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (bloquecmd.sk, line 52: if arg 1 is not set:')
[06:57:31 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (bloquecmd.sk, line 54: if arg 1 is "[<tab>]":')
[06:57:31 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (bloquecmd.sk, line 59: if arg 1 is not set:')
[06:57:31 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (bloquecmd.sk, line 61: if arg 1 is "[<tab>]":')
[06:57:31 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (bloquecmd.sk, line 78: if arg 1 is not set:')
[06:57:31 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (bloquecmd.sk, line 80: if arg 1 is "[<tab>]":')
[06:57:31 ERROR]: This command doesn't have any arguments (bloquecmd.sk, line 78: if arg 1 is not set:')
[06:57:31 ERROR]: This command doesn't have any arguments (bloquecmd.sk, line 80: if arg 1 is "[<tab>]":')
[06:57:31 INFO]: [Skript] Encountered 2 errors while reloading bloquecmd.sk!
Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.
Question
Arnok_Gamer
Version de Minecraft : 1.8
Version de Skript : 2.2
Addons utilisés: Addon1, Addon2, ...
Type du skript : skript maqué plugins
Description du script :
Bonjour, voilà j'ai fais un skript pour bloquer les commandes pour l'acces aux plugins.
Tous fonctionne parfaitement sauf le blocage des commandes avec tab.
Voici mon skript :
on command "/?":
send "&4Vous n'avez pas la permission de faire /?"
cancel event
on command "/bukkit:help":
send "&4Vous n'avez pas la permission de faire /bukkit:help"
cancel event
on command "//calc":
send "&4Vous n'avez pas la permission de faire //calc"
cancel event
on command "/ver":
send "&4Vous n'avez pas la permission de faire /ver"
cancel event
on command "/version":
send "&4Vous n'avez pas la permission de faire /version"
cancel event
on command "/pl":
send "&4Vous n'avez pas la permission de faire /pl"
cancel event
on command "/plugins":
send "&4Vous n'avez pas la permission de faire /plugins"
cancel event
on command "/bukkit:pl":
send "&4Vous n'avez pas la permission de faire /bukkit:pl"
cancel event
on command "/bukkit:plugins":
send "&4Vous n'avez pas la permission de faire /bukkit:plugins"
cancel event
on command "/bukkit:?":
send "&4Vous n'avez pas la permission de faire /bukkit:?"
cancel event
on command "/bukkit:me":
send "&4Vous n'avez pas la permission de faire /bukkit:me"
cancel event
command /ver <text>:
usage: &4Vous n'avez pas la permision de faire /ver [<TAB>]
trigger:
if arg 1 is not set:
message "&4Vous n'avez pas la permission de faire /ver [<TAB>]"
if arg 1 is "[<tab>]":
message "&4Vous n'avez pas la permission de faire /ver [<TAB>]"
command /about <text>:
usage: &4Vous n'avez pas la permision de faire /about [<TAB>]
trigger:
if arg 1 is not set:
message "&4Vous n'avez pas la permission de faire /about [<TAB>]"
if arg 1 is "[<tab>]":
message "&4Vous n'avez pas la permission de faire /about [<TAB>]"
command /bukkit:about <text>:
usage: &4Vous n'avez pas la permision de faire /bukkit:about [<TAB>]
trigger:
if arg 1 is not set:
message "&4Vous n'avez pas la permission de faire /bukkit:about [<TAB>]"
if arg 1 is "[<tab>]":
message "&4Vous n'avez pas la permission de faire /bukkit:about [<TAB>]"
on command "/minecraft:me":
send "&4Vous n'avez pas la permission de faire /minecraft:me"
cancel event
on command "/about":
send "&4Vous n'avez pas la permission de faire /about"
cancel event
on command "/bukkit:ver":
send "&4Vous n'avez pas la permission de faire /bukkit:ver"
cancel event
on command "/bukkit:version":
send "&4Vous n'avez pas la permission de faire /bukkit:version"
cancel event
command /<text>:
usage: &4Vous n'avez pas la permision de faire /[<TAB>]
trigger:
if arg 1 is not set:
message "&4Vous n'avez pas la permission de faire /[<TAB>]"
if arg 1 is "[<tab>]":
message "&4Vous n'avez pas la permission de faire /[<TAB>]"
Et voici mon message d'erreur :
[06:57:31 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (bloquecmd.sk, line 45: if arg 1 is not set:')
[06:57:31 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (bloquecmd.sk, line 47: if arg 1 is "[<tab>]":')
[06:57:31 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (bloquecmd.sk, line 52: if arg 1 is not set:')
[06:57:31 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (bloquecmd.sk, line 54: if arg 1 is "[<tab>]":')
[06:57:31 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (bloquecmd.sk, line 59: if arg 1 is not set:')
[06:57:31 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (bloquecmd.sk, line 61: if arg 1 is "[<tab>]":')
[06:57:31 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (bloquecmd.sk, line 78: if arg 1 is not set:')
[06:57:31 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (bloquecmd.sk, line 80: if arg 1 is "[<tab>]":')
[06:57:31 ERROR]: This command doesn't have any arguments (bloquecmd.sk, line 78: if arg 1 is not set:')
[06:57:31 ERROR]: This command doesn't have any arguments (bloquecmd.sk, line 80: if arg 1 is "[<tab>]":')
[06:57:31 INFO]: [Skript] Encountered 2 errors while reloading bloquecmd.sk!
Merci à ceux qui vont m'aider 🙂 !
4 réponses à cette question
Messages recommandés