MChest plugin automatically fill chests, created by a command, in dynamic time periods, with predefined items.
Endless events, dungeons, PVP & PVM arenas,...
Also if player have mchest.opopenport permission and parameter OpOpenTeleport in config file have value true, then player will be teleported to spawn after open Magic Chest and items from that will be given to him automatically.
Since 1.1 is Magic Chest compatible with plugin Residence. In case that player Enter Res with specific name (variable via config) then commands from config will be sent through consol. This plugin listen to three events - Enter Res, Leave Res and Death of Player. In case of Death event will be sent commands only if player have mchest.(specword) permission. To sum up with this you should prevent players from setting home position or setting warps near Magic Chest.
More info below.
/mchest <help/addis/edit/gen/info/rmv/fill/stop/start/port> ...
mchest.*: Gives access to all MChest permissions and commands
mchest.player: Permission for Players.
# Messages and Config of CheckPoint plugin.
# If in any message is used <name> than <name> will be replaced with name of user or command sender.
# After first save it will repeat save with Repeat period.
Config:
Repeat: 6000
# If true than teleport to spawn location after open MagicChest, could be rewritten (if true) by -mchest.opopenport permission.
# False block all ports; true could be rewritten by permissions.
OnOpenTeleport: true
# Log of this plugin.
EnableLog: false
Messages:
NoPermission: You do not have permission for this.
LowArg: Not enough arguments.
BadArg: Bad arguments.
FileNotExist: File not exist or another error happend.
FileSuccesfulyDeleted: File successfuly deleted.
Teleported: You were teleported to Spawn location.
TeleportedToLoc: You were teleported to Magic Location.
OnCreateChest: You created MagicChest.
OnRemoveChest: MagicChest successfuly removed from list.
OnCreateFailedAlreadyExist: On this location is already Magic Spell.
OnRemoveItems: Items removed from chest.
NotMagicChest: On this location is no spell.
AddIS: ItemsStacks added to list.
MustBePlayer: Must be palyer.
ISEdit: ItemsStacks edited.
FillOn: Magic Spell actived.
FillOff: Magic Spell disactived.
FilledOne: Spell was cast on chest.
FilledMore: Spells were cast on chests.
Save: Save MagicChests and ItemsStacks.
# If equals 'null' than it will be blocked else if this word is in residence name it will
# cast commands from file onResEnter.txt onPlayerResidenceEnterEvent and onPlayerResidenceLeaveEvent
# it will cast commands from file onResLeave.txt
SpecResWord: specword
ResMessages:
onResEnter: Enter to special residence.
onResLeave: Leave to special residence.
onResLeaveDeath: Death in special residence.
onResEnter:
- manuaddp <name> -essentials.sethome
- manuaddp <name> mchest.specword
onResLeave:
- manudelp <name> -essentials.sethome
- manudelp <name> mchest.specword
onResLeaveDeath:
- manudelp <name> -essentials.sethome
- manudelp <name> mchest.specword
# Help
Help:
Help: (Empty)&7/mchest <addis/gen/rmv/info/start/stop/fill/port> (newLine) &o&nType just /mchest help or /mchest <argument> to show help
AddIS:
Help: /mchest addis <ID:DMG,amount> <ID:DMG,amount> ... <ID:DMG,amount> (newLine) Add ItemsStacks to list
Edit:
Help: /mchest edit <numebr> <ID:DMG,amount> <ID:DMG,amount> ... <ID:DMG,amount> (newLine) Edit ItemsStacks (ID = <number>)
Gen:
Help: /mchest gen <ID> <dd-hh-mm> (newLine) Create MagicChest which will be filled with ItemsStack - ID (/mchest info items) in defined interval (last <dd-hh-mm> )
Rmv:
Help: /mchest rmv <loc/items/see> (newLine) remove magic spell ...
Loc: /mchest rmv loc <all/number> (newLine) remove magic spell from location ( chests, dispensers,... ) or from all locations
Items: /mchest rmv items <all/number> (newLine) remove magic spell from all chests which contains or may contain these ItemsStacks or from all chests
See: /mchest rmv see (newLine) remove magic spell from Seen chest (in case it is MagicChest)
Info:
Help: /mchest info <loc/items/see>
Loc: /mchest info loc (newLine) show info about magic spells on locations
Items: /mchest info items (newLine) show info about ItemsStacks
See: /mchest info see (newLine) show info about Magic Spell on location which is seen by sender of command
Stop:
Help: /mchest stop <loc/items/see>
Loc: /mchest stop loc <number/all> (newLine) stop Magic Spell from filling chest on exactly location ( /mchest info loc )
Items: /mchest stop items <number/all> (newLine) stop Magic Spell on all locations which determined by ItemsStack ID ( /mchest info items )
See: /mchest stop see (newLine) stop Magic Spell on seen location
Start:
Help: /mchest start <loc/items/see>
Loc: /mchest start loc <number/all> (newLine) start Magic Spell from filling chest on exactly location ( /mchest info loc )
Items: /mchest start loc <number/all> (newLine) start Magic Spell on all locations which determined by ItemsStack ID ( /mchest info items )
See: /mchest start see (newLine) start Magic Spell on seen location
Fill:
Help: /mchest fill <loc/items/see>
Loc: /mchest fill loc <number/all> (newLine) immediately cast Magic Spell on chest on exactly location ( /mchest info loc )
Items: /mchest fill loc <number/all> (newLine) immediately cast Magic Spell on all locations which determined by ItemsStack ID ( /mchest info items )
See: /mchest fill see (newLine) immediately cast Magic Spell on seen location
Port:
Help: /mchest port <locID> (newLine) /mchest info locs
# END :)
So if you find this plugin useful you can also donate me some money, thanks. :)