02-27-2011, 11:34 AM
(This post was last modified: 02-27-2011, 11:58 AM by codename_B.)
So I was playing around with the mob spawner and found out that it creates invincible pigs when placed
We REAAAAAAAAAALLY need some plugin documentation though, I've been trying to make a plugin to give the user gold kit (all tools and gold armor) when he types /kit on my server (get everyone mining and building quickly).
A plugin for random buried chests would be good too. Man there's so much potential here and the server is sooo lightweight, honestly using only about 20mb the whole time a few of us were testing it out. I can't wait for more features, and namely, more plugin documentation!
About the water - the water in this is better than standard minecraft IMO except it needs to flow further (how easy would that be to do?). Lava would work at the current flow distance of water except at like... 1/10 the speed or thereabouts, and obviously make it damaging
This is probably the best minecraft server in terms of efficiency I've used, I can't wait till it gets more functionality!
A note about the bounding box - you can currently place a block inside where you're standing - fix that asap because it completely ruins building towers etc, thanks
World switching would be super cool too
This is basically as far as I got...
We REAAAAAAAAAALLY need some plugin documentation though, I've been trying to make a plugin to give the user gold kit (all tools and gold armor) when he types /kit on my server (get everyone mining and building quickly).
A plugin for random buried chests would be good too. Man there's so much potential here and the server is sooo lightweight, honestly using only about 20mb the whole time a few of us were testing it out. I can't wait for more features, and namely, more plugin documentation!
About the water - the water in this is better than standard minecraft IMO except it needs to flow further (how easy would that be to do?). Lava would work at the current flow distance of water except at like... 1/10 the speed or thereabouts, and obviously make it damaging
This is probably the best minecraft server in terms of efficiency I've used, I can't wait till it gets more functionality!
A note about the bounding box - you can currently place a block inside where you're standing - fix that asap because it completely ruins building towers etc, thanks
World switching would be super cool too
This is basically as far as I got...
PHP Code:
local KitPlugin = {}
KitPlugin.__index = KitPlugin
function KitPlugin:new()
local t = {}
setmetatable(t, KitPlugin)
local w = Lua__cPlugin:new()
tolua.setpeer(w, t)
w:tolua__set_instance(w)
return w
end
function KitPlugin:Initialize()
self:AddCommand("/kit", " - gives you a starter kit of gold stuff.", "Kit.lua") -- This only adds the command to the commandlist for /help
self:BindCommand("/kit", KitCommand) -- This actually binds the /god command to the HandleGodCommand function
return true -- Make sure you return true, otherwise the plugin is not added
end
function KitCommand(Split, Player)
Player:GetInventory():AddItem( cItem( 283, 1 ) )
Player:GetInventory():AddItem( cItem( 284, 1 ) )
Player:GetInventory():AddItem( cItem( 285, 1 ) )
Player:GetInventory():AddItem( cItem( 286, 1 ) )
Server = cRoot:Get():GetServer()
Server:SendMessage("Get your kit on!", Player )
end
Plugin = KitPlugin:new()
cRoot:Get():GetPluginManager():AddPlugin( Plugin )