Plugin category: Teleportation Suggested name: HomesPlus What I want: I wish a /home, /sethome, and /delhome commands, and multiple homes per player, which has a limit that is determined by permissions (for example if a player has hp.limit.5 they can only set 5 homes). No inviting others to your home or warping to a warp is required. Maybe a cooldown time for /home and /sethome so it isn't spammed. Every /home plugin is too complicated and the "simple" ones are way outdated. The 3 big permission plugins are all having issues. The ability to block users of MyHome plugin from inviting others to their home and teleporting to another players home is undone by this. Ideas for commands: /sethome, /home, /delhome Ideas for permissions: hp.sethome - permission for /sethome hp.home - permission for /home hp.delhome - permission for /delhome hp.limit.<number> - permission to determine how many homes a player can set. hp.homeothers - permission for admins to be able to go to another player's homes. hp.cooldownbypass - a permission to bypass the warpmup time before the teleport to home. When I'd like it by: As soon as possible, thank you! P.S: I know Essentials has this, but I do not essentials and got no need to use it just for the homes ability if a plugin can be made simply for this purpose.
Maybe read the entire request before replaying? I specifically said I need a cooldown and a cooldown bypass, and the ability to set different sethome limits, which this plugin does not have.
I thought I had posted. But I have been working on it, I have the base work done, implementing the cool downs currently. Sent from my Nexus 6 using Tapatalk
Yeah, just finishing up on the messages and placeholders. It has cool downs on commands, delays in teleport, messages w/ Placeholders, all that are customizable. The commands are home, sethome, delhome, homelist and hxreload. All commands and subcommands are permission based. I will write a wiki for it, since the commands and sub commands are in depth, along with the permissions. Sent from my Nexus 6 using Tapatalk
Works like a charm! Thank you! One thing: Could you make it so it stores the data in one single file, instead of seperate file for each player?
Thats not recommended. If something in the file becomes corrupt, there goes your whole storage system. Another thing is iterating through a single file isn't very efficient either. It's like going to look for a document in a huge room, versus looking for the same document in a single folder. But, if you absolutely want it that way, I could try and switch it over in a personal version. Though like I said, all it takes is one writing error and the yml is could be crap. Sent from my Nexus 6 using Tapatalk
Here is the version you requested. It uses a single file. Also, any home sets in the player files will have to be either manually moved to the single file, after the player logs on, or the player will have to redo the sets.
Tried using this version, it throws errors every time I use one of it's commands. 2 of the stacktraces: https://hastebin.com/wowiyulimi.go
What exactly are you typing when those errors occur? Just to make sure, you completely removed the old folder and let it regenerate after a server stop / start? I've tried to replicate the error, or any error for that matter, and I can't get it to throw any.
I have retested it again, I thought I removed the plugin's folder, but seems the system didn't actually. Now it works perfect. Again, thank you so much!