Cuberite Forum
Core - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html)
+--- Thread: Core (/thread-4.html)

Pages: 1 2 3 4 5 6 7 8 9


Core - FakeTruth - 02-21-2011

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


RE: Core V1 - Requires r173 - Tybor - 02-22-2011

Releasing a plugin for a Server version not available is somewhat weird!
Huh

greets,
Tybor


RE: Core V1 - Requires r173 - suicidal_banana - 02-22-2011

(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.



RE: Core V1 - Requires r173 - FakeTruth - 02-22-2011

(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


RE: Core V3 - Requires r176 - FakeTruth - 04-23-2011

Updated this to the version that came with r176


RE: Core V1 - Requires r173 - distroyed123 - 04-24-2011

(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



RE: [Plugin] Core V6 - FakeTruth - 05-25-2011

Updated to Core V6.

Now it has a whitelist with WebAdmin interface

[Image: 76772WhiteList.png]


RE: [Plugin] Core V6 - wenisinchina - 07-01-2011

how do i download plugins i cant find the button on the page



RE: [Plugin] Core V6 - rekatluos - 07-02-2011

Attached File(s)
.lua Core.lua (Size: 23.09 KB / Downloads: 102)


RE: [Plugin] Core V6 - Luthrandel - 11-07-2011

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