Essentials for MCServer (2) - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Plugins (https://forum.cuberite.org/forum-1.html) +--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html) +--- Thread: Essentials for MCServer (2) (/thread-1457.html) |
RE: Essentials for MCServer (2) - tonibm19 - 05-03-2014 Like that Code: kits: RE: Essentials for MCServer (2) - xoft - 05-03-2014 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/blob/master/Config.lua#L253-L276 RE: Essentials for MCServer (2) - tonibm19 - 08-09-2014 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 RE: Essentials for MCServer (2) - ZielonyKapturnik - 10-02-2014 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 RE: Essentials for MCServer (2) - tonibm19 - 10-02-2014 Fixed. RE: Essentials for MCServer (2) - StevasaurousREX - 10-05-2014 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'. RE: Essentials for MCServer (2) - tonibm19 - 10-05-2014 Weird, it worked before. Ill have a look at it later. RE: Essentials for MCServer (2) - StevasaurousREX - 10-06-2014 (10-05-2014, 11:15 PM)tonibm19 Wrote: Weird, it worked before. 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. RE: Essentials for MCServer (2) - xoft - 10-06-2014 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. RE: Essentials for MCServer (2) - tonibm19 - 10-06-2014 (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? |