TotalFreedom / TotalFreedomMod

A server modification for the TotalFreedom server
http://totalfreedom.me/
Other
43 stars 222 forks source link

Idea of having a Protectarea Flag (PvP) #1614

Open ghost opened 8 years ago

ghost commented 8 years ago

I have an idea that we add a no PVP flag (arg) into the command /protectarea.

The new command usage would be: /protectarea <list | clear | remove

EDIT: Nevermind the above ^, some sort of error keeps occuring when posted but not in the edit section of this post. But I'm sure you know what i'll mean below:

Command Parameter Info: Where it says <optional flag >, that's an optional argument where the admin can type "pvp" as the flag and "true/false" in the . Or if they forget to do that after creating a protected zone, they can do "/protectarea set [their protected area name] pvp false".

What's the use of this Flag?: This would be a great benefit to the server as it'll stop spawn killers. The advantage of this is that admins also have a choice wherever they want PVP to be enabled in the protected area or not, it's useful because as said on top of this paragraph, at spawn it'll prevent victims of spawn killers being killed unwantedly. By default it's your choice if you want all protected areas to be no pvp zones until/unless the admin sets it to PVP to be enabled. Also useful for PVP arenas.

How will players tell if they've left the safe zone?: If an area protected has no pvp enabled in it, the player should get a message saying they are in a Safe Zone i.e. no-pvp area, and every time they leave the protected land it'll send them a message saying they have entered a pvp area or they've left the safe zone. To prevent it spamming their chat it could be useful if it sends the message above their hotbar.

xItsNickHD commented 8 years ago

Looks like something nice to implement, what about making it like this:

/protectarea flag pvp deny/allow

If we do, we might as well make a hundred more flags like,

Flag list:

pvp, gamemode, explosions, blocked-commands, allowed-commands, interact, use, construct, break,

You get the idea ^