Jump to content

[1.11.2 | 1.12] WorldProtector


Mosca42

Recommended Posts

Introduction :

 

WorldProtector is a mod allows you to protect your constructions on your servers, it's based on the same principle as the plugin WorldGuard but with several differences at commands level.

 

Additions :

 

Thanks to the “regions stick” items, you can select the size you want and save it to define protection flags to it.

 

Currently, there are three types of commands :

-/region : allows to define, edit, cancel a region.

-/expand : allows to modify the different select points with the stick (height).

-/flag : allows to define one or several flags to a region to protect it (the region).

 

Currently, there are twenty flags :

Break : if active, it forbids players to break the region's blocks.

Place : if active, it forbids players to put on.

Explosions : if active, all explosions will be block in the region (doesn't work under Sponge).

Mob-spawning-monsters : if active, it forbids monsters to spawn in the region.

Mob-spawning-animal : if active, it forbids animals to spawn in the region.

Mob-spawning-all : if active, it forbids mobs to spawn in the region.

Use : if active, it forbids all player's interactions on all containers in the region.

Chest-acces : if active, it forbids all player's interactions on chest's containers in the region.

Invincible : if active, all players become invicible in the region.

Damage-players : if active, players can't be strike down in the region.

Enderpearls : if active, it forbids teleportation in the region thanks to a enderpearls.

Item-drop : if active, it forbids drop items

Exp-drop : if active, it forbids drop the experience

Creeper-explosions : if active, the Creeper explosions will be block in the region (doen't work under Sponge).

Other-explosions : if active, explosions outside Creeper will be block in the region (doesn't work under Sponge).

Damage-animals : if active, animals can't be hit in the region.

Damage-monsters : if active, monsters can't be hit in the region.

Send-chat : if active, it forbids players in the region to send messages in the chat (doesn't block the commands).

Fall-damage : if active, players don't have fall damage in the region.

Pickup-item : if active, players can't pick up items on the ground in the region.

 

If you have any ideas about flags, don't hesitate to propose it to me.

 

Create a region :

 

To create your region, follow these instructions :

 

-Select two points thanks to regions sticks,

-Think to expand your region if you want the region protects from the layer 0 to 255,

-/region define “your region's name”

-/flag add “your region's name” “flag's name”

 

If a region is inside another region you have to use the command : .region setpriority “your region's name” “priority (1,2,3,4,5,6...)”

Let's suppose that there is a arena player vs player in your spawn, it's necessary the arena gains the upper hand on the spawn to activate the flag “player vs player”, if not it will be deactivate.

So, you have to put the arena to a priority higher than the spawn to have the “player vs player” activate :

/region setpriority spawn 1

/region setpriority arena 2

 

1 is superior to 2 so the arena gains the upper hand on the spawn region.

 

Information :

 

The mod has to be install on the client and on the server too.

 

Download :

 

[Curse]

 

Special thanks :

 

Thanks to BrokenSwing for his help about regions and safeguard in the world.

Thanks to TheBossMax2 for the mod logo.

Link to comment
Share on other sites

  • 4 months later...

How do I add the flags to a region? I tried a few thigns but thye don't seem to work. Can you show me an example flag?

 

I tried the following.

 

Made a Region named "Keep"

/flag add keep break

/flag add keep Creeper-explosions

 

Neither of these seemed to make the blocks unbreakable in the Keep region nor are the Creeper explosions not causing damage to blocks.

 

Thanks,

John

 

PS: When Break is set can ops still break blocks or does it stop ANYONE from breaking the blocks?

 

 

 

Edited by Draugr
Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.