-
Compteur de contenus
12 -
Inscription
-
Dernière visite
-
Crédits
0 [Faire un don]
-
totoletoro57200 a gagné Trophée Deux ans déjà ?
-
totoletoro57200 a gagné Trophée Petit Nouveau
-
totoletoro57200 a commencé à suivre [Gadjet] Faction : Baton magique, [SKRIPT] Skript Maintenance Minecraft, AntiVPN | Proxy et et 1 autre
-
résolu [SKRIPT] Skript Maintenance Minecraft
totoletoro57200 a répondu à un sujet de Z3roTw0 dans Résolus
J'ai pas testé mais je pense que c'est bon: on join: if {whitelist.isOn} is true: if {%player%.WhiteListBypass} is false or not set: kick %player% due to "&4Maintenance en cours..." command /whitelist [<text>] [<player>]: trigger: if player has permission "command.whitelist": if arg 1 is "add": if arg 2 is set: set {%arg-2%.WhiteListBypass} to true send "&a%arg-2% à été ajouté à la whitelist" to player if arg 2 is not set: send "&4La commande est /whitelist add <joueur>" to player if arg 1 is "remove": if arg 2 is set: set {%arg-2%.WhiteListBypass} to false send "&a%arg-2% à été retiré de la whitelist" to player if arg 2 is not set: send "&4La commande est /whitelist remove <joueur>" to player if arg 1 is "on": set {whitelist.isOn} to true send "&aWhitelist activé" wait 1 second loop all players: kick %loop-player% due to "&4Maintenance en cours..." if arg 1 is "off": set {whitelist.isOn} to false send "&aWhitelist désactivé" Niveau extentions je sais pas mais bon au pire je le referais ? -
Ah oui merci ?
-
Je comprend pas trop cette ligne: replace all "}" with "" in {_info} à quoi elle sert exactement?
-
Derien. En espérant t'avoir aidé
-
J'ai testé toutes les api et aucune à part proxycheck aucun n'est compatible. J'ai modifié le code, maintenant il faut l'addon skLib: on join: set {_ip} to "%ip of player%" set {_proxyapi} to text from "[Contenu masqué]" set {_test} to "[%{_proxyapi}%] replace all " " in {_test} with "SPACE" set {_isProxy} to json string "%{_test}%" from "%{_ip}%.proxy" if {_isProxy} is "true": make console execute command "/kick %player% VPN" if %{_ip}% is a proxy: make console execute command "/kick %player% VPN" j'ai pas testé mais ca doit fonctionner. Enlève les deux dernières lignes si tu n'arrive pas à installer skLib.
-
totoletoro57200 a modifié sa photo de profil
-
Désolé je savais pas?
-
Je pense qu'on peut trouver ca. Au pire je te fais une petite liste demain? Sinon je vais essayer avec une api ca sera plus simple J'ai pas testé mais je pense que ca doit marché: on join: set {_ip} to "%ip of player%" set {_proxyapi} to text from "[Contenu masqué]" set {_test} to "[%{_proxyapi}%] replace all " " in {_test} with "SPACE" set {_isProxy} to json string "%{_test}%" from "%{_ip}%.proxy" if {_isProxy} is "true": make console execute command "/kick %player% VPN" PS: Merci je connaissait pas proxycheck ?
-
Je l'ai dis a la fin ?
-
J'ai pas testé mais bon: command /prefix [<text>]: permission: fullvip.use permission message: &cTu n'es pas VIP trigger: create nametag with id "%player%" set prefix of nametag with id "%player%" to "%colored arg-1%" add player to nametag with id "%player%" set {%player%.prefix} to "%arg-1%" on chat: if {%player%.prefix} is set: cancel event wait 1 tick broadcast "%{%player%.prefix}% &e%player%&e: %message%" Ce n'est à mon avis pas optimisé mais bon j'essaye x)
-
Bon voila: on join: set {_ip} to "%ip of player%" if {_ip} is "159.203.38.46": make console execute command "/ban %player% VPN" La le code est juste réglé sur le vpn Psiphon 3 au canada. Tu devras installer des vpns, voir l'ip et rajouter à chaque fois la ligne: if {_ip} is "IpDuVPN": make console execute command "/ban %player% VPN" En espérant t'avoir aidé
-
Bon j'espère t'avoir aidé. Je suis désolé niveau opti je suis pas super bon x) Met ton post en résolu si tu as trouvé le code ?
-
Bon voila: on right click with stick: If name of tool of player is "&k!i!&r&aBaton de téléportation&r&k!i!": teleport player to targeted block make console execute command "/tp %player% ~ ~1 ~" on right click with stick on a player: If name of tool of player is "&k!i!&r&aBaton de freeze&r&k!i!": set {%clicked entity%.isFreeze} to true wait 4 seconds set {%clicked entity%.isFreeze} to false on any move: if {%player%.isFreeze} is true: cancel event Flemme de regarder si il y a 10 blocs et de mettre les messages tu devras le faire toi même (c'est pas super complexe)