New plugin! You can now lock chests!

Started by JRParadox, 28-04-2012

0 Members and 1 Guest are viewing this topic.

JRParadox


DO NOT USE ANY OF THE COMMANDS YET AS WE ARE STILL FIXING IT

Now that I have made sure all the permissions work I am proud to unveil the new way to protect against thieves:


The Chest Control Plugin!


Use these simple commands to protect yourself from thieves!


/cset - Lock the chest and sets you as owner - only you can open or destroy it ( You can use subcommand "public" to set you as owner, but everyone can open it. )
/cunset - Removes protection of chest
/cpset - Sets chest public - everyone can open it, but they can't destroy it
/clock YOURPASSWORD - Sets password on chest - you can use /clock remove to disable password
/ccset - Stops selecting of chest
/cunlock YOURPASSWORD - Unlocks and open chest
/crefill - Sets the chest to auto-refill, chest contents will always stay the same - you can use /crefill remove to disable refill to edit the chest
(Only mods have access to this)

{All admin (James Almasy and Myself) can bypass these locks so that we can protect and serve the public.}

▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬
Terraria Super Operator
▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬
JRP > What are you?
Rag > Your freind
JRP > For real?
Rag > This is so serious you don't understand.
▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬

the_grub

r u avin a giggle ther m8, il bash ye fookin ead in i swar on me mum

Redbark


CAMaera

So they work for guests now? Because I tested it when you were on JR and it didn't work because I was not registered.

JRParadox

Currently there is no way to give guests (that's all of you normal people) the ability to unlock chests, therefore I asked for assistance from the developer with no luck (see here  http://tshock.co/xf/index.php?threads/v1-11-chest-control-v2-2-2-2.365/page-6). This means that I have attempted to code the portion which is needed to change so I will ask Steven if it is okay with him if I fiddle with the source code of the chest-control mod, I think I may have fixed the problem but wait and see.


If my coding does fail then we have a choice:
A) Scrap the mod all together
B) Make everyone register for an account, this will be a bit of a hassle but may be needed in some of the other plugins available


I need as many people's opinions as possible so please shed some light on what you think!

▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬
Terraria Super Operator
▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬
JRP > What are you?
Rag > Your freind
JRP > For real?
Rag > This is so serious you don't understand.
▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬

bastidon

Quote from: JRParadox on 29-04-2012
Currently there is no way to give guests (that's all of you normal people) the ability to unlock chests, therefore I asked for assistance from the developer with no luck (see here  http://tshock.co/xf/index.php?threads/v1-11-chest-control-v2-2-2-2.365/page-6). This means that I have attempted to code the portion which is needed to change so I will ask Steven if it is okay with him if I fiddle with the source code of the chest-control mod, I think I may have fixed the problem but wait and see.


If my coding does fail then we have a choice:
A) Scrap the mod all together
B) Make everyone register for an account, this will be a bit of a hassle but may be needed in some of the other plugins available


I need as many people's opinions as possible so please shed some light on what you think!

Would be rather tedious, but I think our best bet is to register all with accounts with the /clock /cunlock /cset...ect. Seems a better bet then messing with the code, unless you are good at it, I personalty get confused and go get some food instead when I try coding.
I'm not an asshole, I just play one on TV.

Put me in coach I'm ready.

CAMaera

I think the easiest way is letting us register under a new "member" class, or something along those lines.