How about this, then?
kits =
{
tools =
{
delay = 10,
items =
{
{272, 1},
{273, 1},
{274, 1},
{275, 1},
},
},
dtools =
{
delay = 600,
items =
{
...
},
},
}
Notice that this "config" is actually a Lua source code, so you can take full advantage of that, and use Lua's loadfile() to do all the work for you. That's how Gallery processes its config file, have a look:
https://github.com/mc-server/Gallery/blo...#L253-L276
I'm glad to say now essentials supports portals.
Portals teleport you to warps
HOWTO:
Create a portal how you want, you can be creative.
2 blocks below the portal, place a sign. Syntax is:
[Portal]
Warp
hi i have a problem i have a spam on console witch number 3
do you can help me
sory for my englis i from poland

Hey the /spawnmob command is giving me an error, I was trying to create the same command and was getting the same error. (I found your plugin trying to figure out how to fix mine xD)
The error is:
Code:
Warn [08:03:35] LUA: Plugins/Essentials/moderator.lua:14: error in function 'SpawnMob'.
argument #5 is 'number'; 'eMonsterType' expected.
Warn [08:03:35] Stack trace:
Warn [08:03:35] [C](-1): SpawnMob
Warn [08:03:35] Plugins/Essentials/moderator.lua(14): (no name)
Warn [08:03:35] Stack trace end
Warn [08:03:35] Error in plugin Essentials calling function <callback>()
Warn [08:03:45] LUA: 2 - Plugins/Essentials/moderator.lua:24: error in function 'SpawnMob'.
argument #5 is 'number'; 'eMonsterType' expected.
Weird, it worked before.
Ill have a look at it later.
(10-05-2014, 11:15 PM)tonibm19 Wrote: [ -> ]Weird, it worked before.
Ill have a look at it later.
Thanks, I figured it did because that was the only way I've seen to spawn mobs xD
It seems more like a bug with MCServer not the way the plugin is coded, I dont know exactly how to report that so if you want maybe push it to them.
There was a change in the server code that moved the cMonster::eType into eMonsterType; I asked the author specifically to handle this in Lua bindings, but he seems to have forgotten about it. There's only some glue declaration that doesn't work.
(10-06-2014, 01:27 AM)xoft Wrote: [ -> ]There was a change in the server code that moved the cMonster::eType into eMonsterType; I asked the author specifically to handle this in Lua bindings, but he seems to have forgotten about it. There's only some glue declaration that doesn't work.
Then, can I do anything in the plugin code? or should I wait for a fix in MCS?