My goal is to make a webpanel for players in order to avoid using to much commands but I know that most of my wishes won’t be used by others.
The webpanel thing sounds interesting, I once thought about parsing html into book menus, with links like <a href="/warp mall" target="console">Warp to mall</a> to link commands... might get some interesting results, I'll start on that if you're interested (but be aware that it wouldn't be able to display any website, it would have to follow some specific rules) :slight_smile:
I wanted to be able to move NPC or chest [...]
You should be able to change the container location in the config like this: make a playershop, put a chest at the new container location, save, edit the container location in the config, reload. I might add a command for players to move their container location to simplify things tho.
Considering a panel with npc type choice and taking player (or specific) location for reference, yes it would be useful. I must admit that it is part of “my perfect plugin features”.
Well I guess why not then...
However, I tried with accents and UTF8 (no bom) encoding but the result was an awful symbol ingame.
Could you send me the lang file? I might have to fix something up on the LangSwitch side if that's the case.
When manually modifying location of an NPC (and reboot), the new location has the right NPC but the old location has a lambda NPC.No answer, related to the “not meant to be fiddled” I suppose.
That's correct, shops are not ment to be moved at all, as the position is still a bit part of identifying the shop. This saves some trouble with UUIDs when the NPC dies or otherwise get's lost - I can just check the location again.
However, my serveur is not yet full (nor open)
May I take a look at your server? :smiley:
Could you add a permission to limite the number of npc per player ?
Permissions suck to limit an amount. The only way I could think about this wouls be extremely dirty:
this is the Nth shop
with N <= C <= Some maximum
does the player have a permission "vshops.playershops.amountC"?
allow creation, otherwise don't
but I think I could add a proper config in addition to the shop storage, where you can define permissions that allow certain maximums. like this:
What would you use the API for? Sorry but I really don’t see any way that could be usefulStill in the “perfect plugin features”, nevermind if you don’t plan to do it.
Technically you can load any plugin and try to access public methods (and more if you know how to use reflection). If you want/need to things, I'd be best to ask me for implementing specific thing if you can't figure a way using existing means as I really don't know what a API could/should do with vshops
So unsafe might be safe in fact ?
Yes and no. UnsaveDamage is used as damage for weapons and as data value for items like coloured wool, effect data for Potions and similar. Afaik this is a left over from times without NBT, where every item really only had it's id, and the data value (meta), where weapons had no damage yet and is currently pretty much a magic number and I think I read that some future release of Minecraft will get rid of those, and use enum values instead.