Endergamer2001 Posté(e) le 1 septembre 2020 Posté(e) le 1 septembre 2020 Version de Minecraft : 1.16.1 Version de Skript : 2.5 Type du skript : Un skript de Claim Description du script : Bonjour je voudrais un plugins de claim avec de l'argent 1 claim vaut 500 $ la commande : /guild claim
titi59300 Posté(e) le 3 septembre 2020 Posté(e) le 3 septembre 2020 1 claim = 1 chunk ? @Endergamer2001
Neosia Posté(e) le 25 septembre 2020 Posté(e) le 25 septembre 2020 Hey j'ai fait ca asser vite et j'ai pas vraiment tester haha donc si ses pas se que tu veux ou marche pas dit le hey hey options: ErrorClaimed: &7&l(&6Guild&7&l)> &eThis is already claimed by %{GuildClaim::%{_chunk}%}% ErrorBalance: &7&l(&6Guild&7&l)> &eYou dont have enough money you need 500$ Alreadyexist: &7&l(&6Guild&7&l)> &eA guild with this name already exist NotInGuild: &7&l(&6Guild&7&l)> &eYou're not in a guild /guild create <name> CantBreakThere: &7&l(&6Guild&7&l)> &eYou cannot break in a claimed land CantPlaceThere: &7&l(&6Guild&7&l)> &eYou cannot place in a claimed land Cantdothis: &7&l(&6Guild&7&l)> &eYou cannot do this action in a claimed land Claimed: &7&l(&6Guild&7&l)> &eYou've claimed this land for 500$ command /guild [<text>] [<text>] [<text>]: trigger: if arg-1 is "claim": if {Guild::%player%} is set: set {_guild} to {Guild::%player%} set {_chunk} to chunk at location of player if {GuildClaim::%{_chunk}%} is set: send "{@ErrorClaimed}" else: if player's balance is bigger than 499: send "{@Claimed}" remove 500 from player's balance set {GuildClaim::%{_chunk}%} to {_guild} else: send "{@ErrorBalance}" else: send "{@NotInGuild}" else if arg-1 is "create": if arg-2 is set: set {_guild} to arg-2 if {GuildNamelist::*} contains "%{_guild}%": send "{@Alreadyexist}" else: add {_guild} to {GuildNamelist::*} set {Guild::%player%} to {_guild} else if arg-1 is "Delete": if {Guild::%player%} is set: loop {GuildClaim::*}: if loop-value is "%{Guild::%player%}%": delete {GuildClaim::%loop-index%} delete {Guild::%player%} remove {Guild::%player%} from {GuildNamelist::*} on break: set {_chunk} to chunk at location of player if {GuildClaim::%{_chunk}%} is set: if {GuildClaim::%{_chunk}%} is {Guild::%player%}: stop else: cancel event send "{@CantBreakThere}" on place: set {_chunk} to chunk at location of player if {GuildClaim::%{_chunk}%} is set: if {GuildClaim::%{_chunk}%} is {Guild::%player%}: stop else: cancel event send "{@CantBreakThere}" on interact: set {_chunk} to chunk at location of player if {GuildClaim::%{_chunk}%} is set: if {GuildClaim::%{_chunk}%} is {Guild::%player%}: stop else: cancel event send "{@Cantdothis}" on rightclick on a chest: set {_chunk} to chunk at location of player if {GuildClaim::%{_chunk}%} is set: if {GuildClaim::%{_chunk}%} is {Guild::%player%}: stop else: cancel event send "{@Cantdothis}" on rightclick on a hopper: set {_chunk} to chunk at location of player if {GuildClaim::%{_chunk}%} is set: if {GuildClaim::%{_chunk}%} is {Guild::%player%}: stop else: cancel event send "{@Cantdothis}" on rightclick: set {_chunk} to chunk at location of player if {GuildClaim::%{_chunk}%} is set: if {GuildClaim::%{_chunk}%} is {Guild::%player%}: stop else: cancel event send "{@Cantdothis}" on rightclick on block: set {_chunk} to chunk at location of player if {GuildClaim::%{_chunk}%} is set: if {GuildClaim::%{_chunk}%} is {Guild::%player%}: stop else: cancel event send "{@Cantdothis}"
Neosia Posté(e) le 25 septembre 2020 Posté(e) le 25 septembre 2020 options: ErrorClaimed: &7&l(&6Guild&7&l)> &eThis is already claimed by %{GuildClaim::%{_chunk}%}% ErrorBalance: &7&l(&6Guild&7&l)> &eYou dont have enough money you need 500$ Alreadyexist: &7&l(&6Guild&7&l)> &eA guild with this name already exist NotInGuild: &7&l(&6Guild&7&l)> &eYou''re not in a guild /guild create <name> CantBreakThere: &7&l(&6Guild&7&l)> &eYou cannot break in a claimed land CantPlaceThere: &7&l(&6Guild&7&l)> &eYou cannot place in a claimed land Cantdothis: &7&l(&6Guild&7&l)> &eYou cannot do this action in a claimed land Claimed: &7&l(&6Guild&7&l)> &eYou''ve claimed this land for 500$ command /guild [<text>] [<text>] [<text>]: trigger: if arg-1 is "claim": if {Guild::%player%} is set: set {_guild} to {Guild::%player%} set {_chunk} to chunk at location of player if {GuildClaim::%{_chunk}%} is set: send "{@ErrorClaimed}" else: if player's balance is bigger than 499: send "{@Claimed}" remove 500 from player's balance set {GuildClaim::%{_chunk}%} to {_guild} else: send "{@ErrorBalance}" else: send "{@NotInGuild}" else if arg-1 is "create": if arg-2 is set: set {_guild} to arg-2 if {GuildNamelist::*} contains "%{_guild}%": send "{@Alreadyexist}" else: add {_guild} to {GuildNamelist::*} set {Guild::%player%} to {_guild} else if arg-1 is "Delete": if {Guild::%player%} is set: loop {GuildClaim::*}: if loop-value is "%{Guild::%player%}%": delete {GuildClaim::%loop-index%} delete {Guild::%player%} remove {Guild::%player%} from {GuildNamelist::*} on break: set {_chunk} to chunk at location of event-block if {GuildClaim::%{_chunk}%} is set: if {GuildClaim::%{_chunk}%} is {Guild::%player%}: stop else: cancel event send "{@CantBreakThere}" on place: set {_chunk} to chunk at location of event-block if {GuildClaim::%{_chunk}%} is set: if {GuildClaim::%{_chunk}%} is {Guild::%player%}: stop else: cancel event send "{@CantBreakThere}" on interact: set {_chunk} to chunk at location of player if {GuildClaim::%{_chunk}%} is set: if {GuildClaim::%{_chunk}%} is {Guild::%player%}: stop else: cancel event send "{@Cantdothis}" on rightclick on a chest: set {_chunk} to chunk at location of event-block if {GuildClaim::%{_chunk}%} is set: if {GuildClaim::%{_chunk}%} is {Guild::%player%}: stop else: cancel event send "{@Cantdothis}" on rightclick on a hopper: set {_chunk} to chunk at location of event-block if {GuildClaim::%{_chunk}%} is set: if {GuildClaim::%{_chunk}%} is {Guild::%player%}: stop else: cancel event send "{@Cantdothis}" on rightclick: set {_chunk} to chunk at location of player if {GuildClaim::%{_chunk}%} is set: if {GuildClaim::%{_chunk}%} is {Guild::%player%}: stop else: cancel event send "{@Cantdothis}" on rightclick on block: set {_chunk} to chunk at location of event-block if {GuildClaim::%{_chunk}%} is set: if {GuildClaim::%{_chunk}%} is {Guild::%player%}: stop else: cancel event send "{@Cantdothis}" je metais tromper a deux trois endroit tk haha 1
Yghore Posté(e) le 10 novembre 2020 Posté(e) le 10 novembre 2020 Le sujet n'a pas reçu de réponse pouvant le résoudre. Il a donc été verrouillé. Cordialement, l'équipe.
Messages recommandés