#CREATED BY SITIENO14 #FOR BUGS, INFORMATION AND OTHER THINGS CONTACT ME ON SKYPE: sitieno14 #Rules: #- Don't remove "Plugin made by Sitieno14" #- Don't sell this plugin #- You can give anyone this plugin but doesn't say that plugin was made by you # options: breakblockbypass: false #True: All people with permission break.bypass can bypass break block protection placeblockbypass: false #True: All people with permission place.bypass can bypass place block protection advertmessages: true #True: If in a breakblocked or placeblocked world a player without bypass permission try to break/place a block must be warned breakblockadvertmessage: &cYou can't break blocks here #Write here the message that you want say to people that try in a blocked world without bypass permission to break block placeblockadvertmessage: &cYou can't place here #Write here the message that you want say to people that try in a blocked world without bypass permission to place block command /breakblock [] []: permission: break.permission trigger: if arg-1 is "help": send " &bBreakBlock &9Help" send "&7/&ebreakblock &6help &7- &eList all breakblock commands" send "&7/&ebreakblock &6worldlist &7- &eList all world in the list" send "&7/&ebreakblock addworld &6worldname &7- &eAdd a world to the list" send "&7/&ebreakblock removeworld &6worldname &7- &eRemove a world from the list" send "&7/&ebreakblock &6disable &7- &eDisable the breakblock part of the skript" send "&7/&ebreakblock mode &6mode &7- &eSet the mode to &6Total, Blacklist or Whitelist;" send "&6Total: &eBreaking block is blocked in all worlds " send "&6Whitelist: &eBreaking block work only in worlds in a list" send "&6Blacklist: &eBreaking block is blocked in worlds in a list" send "" send "&bPlugin made by &3Sitieno14" if arg-1 is "worldlist": send "&eIn the list there are these worlds:" send "&6%{breakblock::list::*}%" if arg-1 is "addworld": if arg-2 is set: add arg-2 to {breakblock::list::*} set {breakblock::%arg-2%} to 1 send "&eYou &aadded ðe world &6%arg-2% &eto the list" else: send "&cYou must specify the world that you want add to the list" if arg-1 is "removeworld": if arg-2 is set: remove arg-2 from {breakblock::list::*} delete {breakblock::%arg-2%} send "&eYou &cremoved ðe world &6%arg-2% &efrom the list" else: send "&cYou must specify the world that you want remove from the list" if arg-1 is "mode": if arg-2 is "Total": set {breakblock::mode} to "Total" send "&eYou setted the break block mode to&7: &6Total" if arg-2 is "Blacklist": set {breakblock::mode} to "Blacklist" send "&eYou setted the break block mode to&7: &6Blacklist" if arg-2 is "Whitelist": set {breakblock::mode} to "Whitelist" send "&eYou setted the break block mode to&7: &6Whitelist" if arg-1 is "disable": delete {breakblock::mode} delete {breakblock::*} delete {breakblock::list::*} send "&eYou &cdisabled ðe &6breakblock &epart of the skript" else: make player execute command "/breakblock help" command /placeblock [] []: permission: place.permission trigger: if arg-1 is "help": send " &bPlaceBlock &9Help" send "&7/&eplacekblock &6help &7- &eList all placeblock commands" send "&7/&eplaceblock &6worldlist &7- &eList all world in the list" send "&7/&eplaceblock addworld &6worldname &7- &eAdd a world to the list" send "&7/&eplaceblock removeworld &6worldname &7- &eRemove a world from the list" send "&7/&eplaceblock &6disable &7- &eDisable the placeblock part of the skript" send "&7/&eplaceblock mode &6mode &7- &eSet the mode to &6Total, Blacklist or Whitelist;" send "&6Total: &ePlacing block is blocked in all worlds " send "&6Whitelist: &ePlacing blocks work only in worlds in a list" send "&6Blacklist: &ePlacing blocks is blocked in worlds in a list" send "" send "&bPlugin made by &3Sitieno14" #Skript made by Sitieno14 if arg-1 is "worldlist": send "%{placeblock::list::*}%" if arg-1 is "addworld": if arg-2 is set: add arg-2 to {placeblock::list::*} set {placeblock::%arg-2%} to 1 send "&eYou &aadded ðe world &6%arg-2% &eto the list" else: send "&cYou must specify the world that you want add to the list" if arg-1 is "removeworld": if arg-2 is set: remove arg-2 from {placeblock::list::*} delete {placeblock::%arg-2%} send "&eYou &cremoved ðe world &6%arg-2% &efrom the list" else: send "&cYou must specify the world that you want remove from the list" if arg-1 is "mode": if arg-2 is "Total": set {placeblock::mode} to "Total" send "&eYou setted the place block mode to&7: &6Total" if arg-2 is "Blacklist": set {placeblock::mode} to "Blacklist" send "&eYou setted the place block mode to&7: &6Blacklist" if arg-2 is "Whitelist": set {placeblock::mode} to "Whitelist" send "&eYou setted the place block mode to&7: &6Whitelist" if arg-1 is "disable": delete {placeblock::mode} delete {placeblock::*} delete {placeblock::list::*} send "&eYou &cdisabled ðe &6placeblock &epart of the skript" on break: if "{@breakblockbypass}" is "true": if player has the permission "break.bypass": stop if "%{breakblock::mode}%" is "Total": cancel event if "{@advertmessages}" is "true": send "{@breakblockadvertmessage}" to player if "%{breakblock::mode}%" is "Blacklist": if {breakblock::%event-world%} is set: cancel event if "{@advertmessages}" is "true": send "{@breakblockadvertmessage}" to player if "%{breakblock::mode}%" is "Whitelist": if {breakblock::%event-world%} isn't set: cancel event if "{@advertmessages}" is "true": send "{@breakblockadvertmessage}" to player #SKRIPT MADE BY SITIENO14 on place: if "{@placeblockbypass}" is "true": if player has the permission "place.bypass": stop if "%{placeblock::mode}%" is "Total": cancel event if "{@advertmessages}" is "true": send "{@placeblockadvertmessage}" to player if "%{placeblock::mode}%" is "Blacklist": if {placeblock::%event-world%} is set: cancel event if "{@advertmessages}" is "true": send "{@placeblockadvertmessage}" to player if "%{placeblock::mode}%" is "Whitelist": if {placeblock::%event-world%} isn't set: cancel event if "{@advertmessages}" is "true": send "{@placeblockadvertmessage}" to player #CREATED BY SITIENO14 #FOR BUGS, INFORMATION AND OTHER THINGS CONTACT ME ON SKYPE: sitieno14 #Rules: #- Don't remove "Plugin made by Sitieno14" #- Don't sell this plugin #- You can give anyone this plugin but doesn't say that plugin was made by you #