finished #143 I believe
This commit is contained in:
@@ -46,6 +46,7 @@ function Initialize(Plugin)
|
||||
PluginManager:BindCommand("/arr", "debuggers", HandleArrowCmd, "- Creates an arrow going away from the player");
|
||||
PluginManager:BindCommand("/fb", "debuggers", HandleFireballCmd, "- Creates a ghast fireball as if shot by the player");
|
||||
PluginManager:BindCommand("/xpa", "debuggers", HandleAddExperience, "- Adds 200 experience to the player");
|
||||
PluginManager:BindCommand("/xpr", "debuggers", HandleRemoveXp, "- Remove all xp");
|
||||
|
||||
-- Enable the following line for BlockArea / Generator interface testing:
|
||||
-- PluginManager:AddHook(Plugin, cPluginManager.HOOK_CHUNK_GENERATED);
|
||||
@@ -852,3 +853,13 @@ function HandleAddExperience(a_Split, a_Player)
|
||||
|
||||
return true;
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function HandleRemoveXp(a_Split, a_Player)
|
||||
a_Player:SetExperience(0);
|
||||
|
||||
return true;
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user