Cuberite Forum

Full Version: ToDo Lists
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Brewing branch has been mergedBig Grin
Updated the initial post Smile
But I think not all potions are completed, are they?
Well I have created a brewing.txt file and used the informations from
http://minecraft.gamepedia.com/Potion
http://minecraft.gamepedia.com/Brewing

The splash potions are not in the file, they are created inside of the server.

Do you have potions that are not implemented?
I meant potion effects, if you consider it part of brewing.
(11-29-2015, 07:48 PM)tonibm19 Wrote: [ -> ]I meant potion effects, if you consider it part of brewing.

Ah okay, yes a few potion effects are missing. I haven't worked on this, if you have potion effects that are missing and there is no issue open a own issue for that.
Why explosion damages players in creative mode?  Huh
I even made a plugin what fixes it, because it's wery annoying. This plugin fixes knockback too. Here the code:
Code:
local hooks={}
local TDItable={"Attacker","DamageType","FinalDamage","Knockback","RawDamage"}
function hooks.take_damage(e,d)
 if e:IsPlayer() and e and e:isGamemodeCreative() then
   return true
 else
   --LOG("Damage!")
   --for k,v in pairs(TDItable) do
   --  LOG("\t"..v.."="..tostring(d[v]))
   --end
   if d.DamageType==dtAttack or d.DamageType==dtArrowAttack then
     e:SetSpeed(0,0,0)
     d.Knockback.y=5
     --d.Knockback=d.Knockback*5
   end
   return false
 end
end
function Initialize(Plugin)
    Plugin:SetName("LogicFix")
    Plugin:SetVersion(1)

    -- Hooks

 if hooks then
   for k,v in pairs(hooks) do
     cPluginManager.AddHook(cPluginManager["HOOK_"..string.upper(k)], v)
   end
 end
    PLUGIN = Plugin -- NOTE: only needed if you want OnDisable() to use GetName() or something like that

    -- Command Bindings

 if commands then
   for k,v in pairs(commands) do
     cPluginManager.BindCommand(unpack(v))
   end
 end

    LOG("Initialised " .. Plugin:GetName() .. " v." .. Plugin:GetVersion())
    return true
end

function OnDisable()
    LOG(PLUGIN:GetName() .. " is shutting down...")
end
(01-09-2018, 02:43 AM)TC1061 Wrote: [ -> ]Why explosion damages players in creative mode?  Huh

Sounds like a bug, you'd be best off submitting an issue on Cuberite's Github.
This thread has been completely derailedTongue
Pages: 1 2