Discussion forum > Suggestions

New type of protection system!

(1/7) > >>

Chief149:
Ok so here is a proposal for a new way to protect areas!

So first off, for those who do not know how to use worldedit here is the info:

The basic way to edit a large area is to use the selected worldedit tool (wooden axe). You left click block 1, and right click block 2. When you do this you select two coordinates, and these coordinates become the opposite corners of a cube. When the //set command is used all blocks in this cube are changed to whatever the set command says.

Now lets talk protection stone!
Lets say we have a new ore for a protection stone. Lets say, redstone ore. Now the redstone ores themselves wouldn't be very expensive at all. Maybe like 100 bucks each. The real magic is in placing these stones. First off, the user would require two of these stones. Upon placing stone 1 (block 1) and stone 2 (block 2) a cube is created, and a glass wall will surround the area (restrictors would be made to make it so no matter how large an area is selected, the glass wall will be formed at a rate that won't lag the server). As this glass wall is made the player gets the following message in chat:


--- Code: ---"Protection of an area this size will cost: " + (int cost) + ". To purchase respond with /yes or /no to not purchase"
--- End code ---
or

--- Code: ---"The selected area overlaps another protected area. Cannot protect!"
--- End code ---
(this shows before the glass wall is made if necessary)
or

--- Code: ---"The selected area is larger than the largest allowed area protection!"
--- End code ---
(opti can set a max area)

if the user responds with
--- Code: ---"/no"
--- End code ---
then the glass wall disappears at a slow rate which will not cause server lag
if the user responds with
--- Code: ---"/yes"
--- End code ---
then either the price will be subtracted from the users balance, or if there is not enough money in the bank the wall disappears and the following message shows up:


--- Code: ---"You do not have enough money to buy protection for this area!"
--- End code ---

Now if an area is protected and the owner of the area breaks one of the stones then it will break the protection completely, and the user will receive a 75% refund on what was paid for the area protection. Note the user will have to manually go and retrieve their redstone ores in the event that something prevents a successfull protection, or in the event that the area owner breaks the protection for some reason.

Also I will now calculate the price of protection:

1 diamond PS stone protects a volume of 41x41x41 blocks = 68921 blocks
This comes out to be 68921/$55000 = $1.25 per block, or $1 per block if you round to the nearest whole number.
Therefore if a player selects an area that is 20x20x10 blocks = 4000 blocks total, then the cost @ $1/block would be $4000, and the player would see:

--- Code: ---"Protection of an area this size will cost: $4000. To purchase respond with /yes or /no to not purchase"
--- End code ---

Nick3306:
I suggested this a few months ago but opti did not seem to into the idea.

Chief149:
I mean, this could easily be programmed into the current protection system most likely. I haven't seen any source code for smp plugins, but I would assume it wouldn't be that hard to program.

I would know if I could program in the procedure for this idea if I had the source code of the opticraft ps system, but I doubt that's meant to be available to anyone outside of the opticraft administration.

Nick3306:

--- Quote from: cheif149 on June 29, 2012, 02:25:42 am ---I mean, this could easily be programmed into the current protection system most likely. I haven't seen any source code for smp plugins, but I would assume it wouldn't be that hard to program.

I would know if I could program in the procedure for this idea if I had the source code of the opticraft ps system, but I doubt that's meant to be available to anyone outside of the opticraft administration.

--- End quote ---
We use the precious stones plugin for our protection. As far as I am aware it is open source.

☣2crzy4uall☣:
Wow this is pretty damn cool sounding, im buying up diamond ps like candy and it sucks lol two ps and im done lol thatd be nice

Navigation

[0] Message Index

[#] Next page

Go to full version