Cuberite Forum

Full Version: Core
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9
Implements some of the basic commands needed to run a simple server. This plugin is included with Cuberite by default.

Commands and permissions: https://github.com/cuberite/Core/blob/master/README.md
Source: https://github.com/cuberite/Core
Download: https://github.com/cuberite/Core/archive/master.zip
Releasing a plugin for a Server version not available is somewhat weird!
Huh

greets,
Tybor
(02-22-2011, 03:02 AM)Tybor Wrote: [ -> ]Releasing a plugin for a Server version not available is somewhat weird!
Huh

greets,
Tybor

Its because were awesomeTongue expect it soon, sorry for the inconvenience.

Edit: just so you know, the reasons behind this are
for this core; its because there's now a better way to make cmds, which is made available beforehand so plugin builders can already see how it works.
for my plugin; the reason u need 173 is that 172 has a little bug with vector3d, that didnt really surface untill i made said plugin.
(02-22-2011, 03:02 AM)Tybor Wrote: [ -> ]Releasing a plugin for a Server version not available is somewhat weird!
Huh

greets,
Tybor

Some people that made mods for Hey0 did it. They got their hands on dev versions :O
I can hand out dev versions of MCServer over skype/msn/email to some people that need it, but not in public due to a guaranteed influx of "wtf server crash" and "hey this don't work!" commentsTongue
Besides I was just trying to fill this forum a bit, haha
Updated this to the version that came with r176
(02-22-2011, 06:13 AM)FakeTruth Wrote: [ -> ]
(02-22-2011, 03:02 AM)Tybor Wrote: [ -> ]Releasing a plugin for a Server version not available is somewhat weird!
Huh

greets,
Tybor

Some people that made mods for Hey0 did it. They got their hands on dev versions :O
I can hand out dev versions of MCServer over skype/msn/email to some people that need it, but not in public due to a guaranteed influx of "wtf server crash" and "hey this don't work!" commentsTongue
Besides I was just trying to fill this forum a bit, haha
i could use one i mess around alot, wouldnt mind i could make a bunch knowing what i have to work with, distroyed123@hotmai.com/gmail/yahoo
Updated to Core V6.

Now it has a whitelist with WebAdmin interface

[Image: 76772WhiteList.png]
how do i download plugins i cant find the button on the page
Attached File(s)
.lua Core.lua (Size: 23.09 KB / Downloads: 102)
Core needs a /give command.

Code:
function HandleGiveCommand( Split, Player ) if #Split < 3 then Player:SendMessage( cChatColor.Green .. "Usage: /give [PlayerName] [ItemID/Name] <Amount>" ) return true end local World = cRoot:Get():GetWorld() local GivePlayer = World:GetPlayer( Split[2] ) if GivePlayer == nil then Player:SendMessage( cChatColor.Green .. "Player " ..Split[2].. " not found." ) return true end ItemID = Split[3] ItemMeta = 0 sPos = string.find(Split[3], ":") if (sPos ~= nil) then ItemID = tonumber(string.sub(Split[3], 1, sPos-1)) ItemMeta = tonumber(string.sub(Split[3], sPos+1)) else ItemID = tonumber(Split[3]) end if( ItemID == nil or not isValidItem( ItemID ) ) then Player:SendMessage( cChatColor.Green .. "Item " ..Split[3].. " not found." ) return true end ItemAmount = 1 if( #Split >= 4 ) then ItemAmount = tonumber(Split[4]) if( ItemAmount == nil or ItemAmount < 1 or ItemAmount > 512 ) then Player:SendMessage( cChatColor.Red .. "Invalid Amount !" ) return true end end local NewItem = cItem( ItemID, ItemAmount , ItemMeta) if( GivePlayer:GetInventory():AddItem(NewItem) == true ) then Player:SendMessage( cChatColor.Green .. "Gave item ("..ItemID..":"..ItemMeta..") to "..Split[2].."." ) LOG("Gave " .. GivePlayer:GetName() .. " " .. ItemAmount .. " times " .. ItemID ) else Player:SendMessage( cChatColor.Red .. "Not enough space in inventory !" ) end return true end
Pages: 1 2 3 4 5 6 7 8 9