Aller au contenu

AdminGui (Ban, Tempban, mute, kick, freeze)


Messages recommandés

Posté(e)

Bonjours,

J'aimerait un skript que quand on fait /gerer <pseudo> sa nous ouvre un inventaire qui a 1 ranger et 5 items qui sont nommer ban, tempban, mute, kick, freeze. Quand on clique sur:

-Ban; sa nous ouvre un inventaire qui a des item pour le ban pour Cheat, usebug.

-Tempban; sa nous ouvre un inventaire qui a des items pour tempban genre 10 pour insulte, ect.. (Je vais ajouter les raison et le temps avec le model que vous m'aurai fournis)

-Mute; Inventaire qui a mute 5 minute, 10 minutes, 30 minutes, 1 heure, 2 heure, 5 heures, 12 heures, 24 heures et un bouton demute.

-Kick; Kick avec des raison prédefénis (que je vais mettre).

-Freeze; Simplement un bouton freeze et un freezeé

 

Je sais que ses beaucoup de travail ;)

Bonne chance !

Posté(e)

Il y a énormément de plugins complets sur ça (je crois bien que c'est le thème le plus complet du forum).

Cherche dans les Ressources, dans les Skripts ;)

Tu trouveras tout ce qu'il te faut pour ton plugin.

Posté(e)
Il y a énormément de plugins complets sur ça (je crois bien que c'est le thème le plus complet du forum).

Cherche dans les Ressources, dans les Skripts ;)

Tu trouveras tout ce qu'il te faut pour ton plugin.

 

Je t'avertis, celui là je ne te le fais pas @EvanMartiin ! :P

  • J'aime 1
Posté(e)

Re,

 

As-tu trouvé ton Skript ? Si non, je commence le tiens.

 

P.S : As-tu Essentials ?

 

PsYZiiK.

 

Edit : J'ai commencé ton Skript. Si je finis aujourd'hui. Tu recevras ta commande avant 21H. Si je termine pas aujourd'hui, tu recevras ta commande demain vers 10H-11H.

Posté(e)

Voilà pour toi : (CE CODE NE FONCTIONNE QUE SI TU AS ESSENTIALS). Si tu n'as pas Essentials, préviens ;) !

 

options:

#==========================================================#
# +------------------------------------------------------+ #
# |                  TempBan - Raisons                   | #
# +------------------------------------------------------+ #
#==========================================================#

TempBanRaison1:

TempBanRaison2:

TempBanRaison3:

TempBanRaison4:

TempBanRaison5:

TempBanRaison6:

TempBanRaison7:

#==========================================================#
# +------------------------------------------------------+ #
# |                     TempBan - Temps                  | #
# +------------------------------------------------------+ #
#==========================================================#

TempBanTemps1:

TempBanTemps2:

TempBanTemps3:

TempBanTemps4:

TempBanTemps5:

TempBanTemps6:

TempBanTemps7:

#==========================================================#
# +------------------------------------------------------+ #
# |                     Mute - Raisons                   | #
# +------------------------------------------------------+ #
#==========================================================#

MuteRaison1:

MuteRaison2:

MuteRaison3:

MuteRaison4:

MuteRaison5:

MuteRaison6:

MuteRaison7:

#==========================================================#
# +------------------------------------------------------+ #
# |                       Mute - Temps                   | #
# +------------------------------------------------------+ #
#==========================================================#

MuteTemps1:

MuteTemps2:

MuteTemps3:

MuteTemps4:

MuteTemps5:

MuteTemps6:

MuteTemps7:

#==========================================================#
# +------------------------------------------------------+ #
# |                       Kick - Raisons                 | #
# +------------------------------------------------------+ #
#==========================================================#

KickRaison1:

KickRaison2:

KickRaison3:

KickRaison4:

KickRaison5:

KickRaison6:

KickRaison7:





# NE PAS TOUCHER AU SKRIPT SI TU NE T'Y CONNAIS PAS !





command /gerer [<player>]:
   permission: gerer.use
   permission message: &cErreur : Vous n'avez pas la permission !
   trigger:
       if arg 1 is not set:
           send "&cErreur : Vous devez préciser un pseudo !" to player
       if arg 1 is set:
           close the player's inventory
           wait 2 ticks
           open chest with 1 row named "&9&lPanel" to player
           wait 1 tick
           format slot 0 of the player with fence named "&cBan" with lore "&cBanni le joueur définitivement !" to close then run [make player execute command "/gbangui %arg 1%"]
           format slot 1 of the player with lead named "&6TempBan" with lore "&6Banni le joueur temporairement !" to close then run [make player execute command "/gtempbangui %arg 1%"]
           format slot 2 of the player with paper named "&aMute" with lore "&aRéduis le joueur au silence !" to close then run [make player execute command "/gmutegui %arg 1%"]
           format slot 3 of the player with diamond shovel named "&eKick" with lore "&eKick le joueur du serveur !" to close then run [make player execute command "/gkickgui %arg 1%"]
           format slot 4 of the player with ice named "&bFreeze" with lore "&bFreeze/Un-Freeze le joueur !" to close then run [make player execute command "/gfreezegui %arg 1%"]
           format slot 8 of the player with door named "&5Quitter" with lore "&5Quitter le Panel !" to close

command /gbangui <player>:
   permission: gerer.use
   permission message: &cErreur : Vous n'avez pas la permission !
   trigger:
       close the player's inventory
       wait 2 ticks
       open chest with 1 row named "&cBan GUI" to player
       wait 1 tick
       format slot 0 of the player with book named "&cCheat" to close then run "/ban %arg 1% Cheat"
       format slot 1 of the player with book named "&cUseBug" to close then run "/ban %arg 1% UseBug"
       format slot 8 of the player with door named "&5Retour" to close then run [make player execute command "/gerer %arg 1%"]

command /gtempbangui <player>:
   permission: gerer.use
   permission message: &cErreur : Vous n'avez pas la permission !
   trigger:
       close the player's inventory
       wait 2 ticks
       open chest with 1 row named "&6TempBan GUI" to player
       wait 1 tick
       format slot 0 of the player with book named "{@TempBanRaison1}" with lore "{@TempBanTemps1}" to close then run "/tempban %arg 1% {@TempBanTemps1} {@TempBanRaison1}"
       format slot 1 of the player with book named "{@TempBanRaison2}" with lore "{@TempBanTemps2}" to close then run "/tempban %arg 1% {@TempBanTemps2} {@TempBanRaison2}"
       format slot 2 of the player with book named "{@TempBanRaison3}" with lore "{@TempBanTemps3}" to close then run "/tempban %arg 1% {@TempBanTemps3} {@TempBanRaison3}"
       format slot 3 of the player with book named "{@TempBanRaison4}" with lore "{@TempBanTemps4}" to close then run "/tempban %arg 1% {@TempBanTemps4} {@TempBanRaison4}"
       format slot 4 of the player with book named "{@TempBanRaison5}" with lore "{@TempBanTemps5}" to close then run "/tempban %arg 1% {@TempBanTemps5} {@TempBanRaison5}"
       format slot 5 of the player with book named "{@TempBanRaison6}" with lore "{@TempBanTemps6}" to close then run "/tempban %arg 1% {@TempBanTemps6} {@TempBanRaison6}"
       format slot 6 of the player with book named "{@TempBanRaison7}" with lore "{@TempBanTemps7}" to close then run "/tempban %arg 1% {@TempBanTemps7} {@TempBanRaison7}"
       format slot 8 of the player with door named "&5Retour" to close then run [make player execute command "/gerer %arg 1%"]

command /gmutegui <player>:
   permission: gerer.use
   permission message: &cErreur : Vous n'avez pas la permission !
   trigger:
       close the player's inventory
       wait 2 ticks
       open chest with 1 row named "&aMute GUI" to player
       wait 1 tick
       format slot 0 of the player with book named "{@MuteRaison1}" with lore "{@MuteTemps1}" to close then run "/mute %arg 1% {@MuteTemps1} {@MuteRaison1}"
       format slot 1 of the player with book named "{@MuteRaison2}" with lore "{@MuteTemps2}" to close then run "/mute %arg 1% {@MuteTemps2} {@MuteRaison2}"
       format slot 2 of the player with book named "{@MuteRaison3}" with lore "{@MuteTemps3}" to close then run "/mute %arg 1% {@MuteTemps3} {@MuteRaison3}"
       format slot 3 of the player with book named "{@MuteRaison4}" with lore "{@MuteTemps4}" to close then run "/mute %arg 1% {@MuteTemps4} {@MuteRaison4}"
       format slot 4 of the player with book named "{@MuteRaison5}" with lore "{@MuteTemps5}" to close then run "/mute %arg 1% {@MuteTemps5} {@MuteRaison5}"
       format slot 5 of the player with book named "{@MuteRaison6}" with lore "{@MuteTemps6}" to close then run "/mute %arg 1% {@MuteTemps6} {@MuteRaison6}"
       format slot 6 of the player with book named "{@MuteRaison7}" with lore "{@MuteTemps7}" to close then run "/mute %arg 1% {@MuteTemps7} {@MuteRaison7}"
       format slot 8 of the player with door named "&5Retour" to close then run [make player execute command "/gerer %arg 1%"]

command /gkickgui <player>:
   permission: gerer.use
   permission message: &cErreur : Vous n'avez pas la permission !
   trigger:
       close the player's inventory
       wait 2 ticks
       open chest with 1 row named "&eKick GUI" to player
       wait 1 tick
       format slot 0 of the player with book named "{@KickRaison1}" to close then run "/kick %arg 1% {@KickRaison1}"
       format slot 0 of the player with book named "{@KickRaison2}" to close then run "/kick %arg 1% {@KickRaison2}"
       format slot 0 of the player with book named "{@KickRaison3}" to close then run "/kick %arg 1% {@KickRaison3}"
       format slot 0 of the player with book named "{@KickRaison4}" to close then run "/kick %arg 1% {@KickRaison4}"
       format slot 0 of the player with book named "{@KickRaison5}" to close then run "/kick %arg 1% {@KickRaison5}"
       format slot 0 of the player with book named "{@KickRaison6}" to close then run "/kick %arg 1% {@KickRaison6}"
       format slot 0 of the player with book named "{@KickRaison7}" to close then run "/kick %arg 1% {@KickRaison7}"
       format slot 8 of the player with door named "&5Retour" to close then run [make player execute command "/gerer %arg 1%"]

command /gfreezegui <player>:
   permission: gerer.use
   permission message: &cErreur : Vous n'avez pas la permission !
   trigger:
       close the player's inventory
       wait 2 ticks
       open chest with 1 row named "&bFreeze GUI" to player
       wait 1 tick
       format slot 2 of the player with green wool named "&bFreeze" to close then run [make player execute command "/gfreeze %arg 1%"]
       format slot 6 of the player with red wool named "&cUn-Freeze" to close then run [make player execute command "/gunfreeze %arg 1%"]

command /gfreeze <player>:
   permission: gerer.use
   permission message: &cErreur : Vous n'avez pas la permission !
   trigger:
       apply jump boost 250 to arg 1 for 999 days
       apply slowness 250 to arg 1 for 999 days
       apply blindness 250 to arg 1 for 999 days

command /gunfreeze <player>:
   permission: gerer.use
   permission message: &cErreur : Vous n'avez pas la permission !
   trigger:
       remove jump boost from arg 1
       remove slowness from arg 1
       remove blindness from arg 1

  • J'aime 1
Posté(e)

Bah sa utilise 2 choses de Essentials , et aussi sa utilise MaxBans :) Puis le reste sa marche a merveille: Freeze , info sur le joueur, tp sur le joueur, ender chest , mettre ou enlever une avertissement , activer le mode spec et désactiver , liste de mute avec les raisons mises , et liste de ban avec les raisons mises :)

  • J'aime 1
Posté(e) (modifié)
MrForoche a dit :
Bah sa utilise 2 choses de Essentials , et aussi sa utilise MaxBans ? Puis le reste sa marche a merveille: Freeze , info sur le joueur, tp sur le joueur, ender chest , mettre ou enlever une avertissement , activer le mode spec et désactiver , liste de mute avec les raisons mises , et liste de ban avec les raisons mises ?

bjr

Modifié par Shankay
Posté(e)
Ton commentaire ne sert à rien. Tu ne donnes pas d'aide, tu cherche juste la gloire, à quoi ça sert de te vanter un skript si tu ne veux pas release ? Bref, j'te répondrais pas.

Euh, là je crois bien que tu as un sérieux problème (mental ou bien de vue, je ne sais pas, bien même les deux ?).

 

Ton commentaire ne sert à rien.

Si, il parle de son plugin car PsYZiiK l'a questionné dessus. Au passage le tien n'a pas plus d'utilité.

 

Tu ne donnes pas d'aide, tu cherche juste la gloire

Non il ne donne pas d'aide sur le topic, mais il répond juste gentillement à une personne qui lui pose une question.

De plus, la gloire est inutile sur un forum, il n'y a rien a gagner si ce n'est de l'expérience personnelle.

 

à quoi ça sert de te vanter un skript si tu ne veux pas release ?

Encore une fois (t'es têtu toi, sans être vulgaire), il ne s'en vante pas mais répond à PsYZiiK.

 

Bref, j'te répondrais pas.

Personne ne te l'a demandé, c'est bien toi qui a posté un seul message dans cette conversation, un seul et déjà un de trop, rien que pour t'embrouiller avec un innocent.

 

Donc maintenant si tu voudrais bien te taire ou encore mieux partir, nous n'en serons que ravis. :)

Posté(e)

Non, il a juste répondu à une de mes questions alors faut arrêter. C'est moi qui lui ai posé la question car cela m'intéressait beaucoup.

 

Là celui qui est en tord c'est toi. Le commentaire qui ne sert à rien n'est pas celui de MrForoche mais plutôt le tien.

 

Amicalement,

PsYZiiK.

  • J'aime 1
Posté(e)

I

Il y a énormément de plugins complets sur ça (je crois bien que c'est le thème le plus complet du forum).

Cherche dans les Ressources, dans les Skripts ;)

Tu trouveras tout ce qu'il te faut pour ton plugin.

Inscrits depuis le 22 juin 2016 et déjà 245 messages ?

×
×
  • Créer...

Information importante

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.