diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-01-28 00:47:32 +0100 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-01-28 00:47:32 +0100 |
commit | de293999872346271cdfb5dbecbad7f77362b83b (patch) | |
tree | c627283aacda09be1592f85805261fec782b8a6d /Plugins/NewTest | |
parent | Added a VC2010 configuration for Debug build with optimized Noise; made it the default in VC2008 (diff) | |
download | cuberite-de293999872346271cdfb5dbecbad7f77362b83b.tar cuberite-de293999872346271cdfb5dbecbad7f77362b83b.tar.gz cuberite-de293999872346271cdfb5dbecbad7f77362b83b.tar.bz2 cuberite-de293999872346271cdfb5dbecbad7f77362b83b.tar.lz cuberite-de293999872346271cdfb5dbecbad7f77362b83b.tar.xz cuberite-de293999872346271cdfb5dbecbad7f77362b83b.tar.zst cuberite-de293999872346271cdfb5dbecbad7f77362b83b.zip |
Diffstat (limited to '')
-rw-r--r-- | Plugins/Core/ban.lua (renamed from Plugins/NewTest/ban.lua) | 0 | ||||
-rw-r--r-- | Plugins/Core/gamemode.lua (renamed from Plugins/NewTest/gamemode.lua) | 0 | ||||
-rw-r--r-- | Plugins/Core/gotoworld.lua (renamed from Plugins/NewTest/gotoworld.lua) | 0 | ||||
-rw-r--r-- | Plugins/Core/help.lua (renamed from Plugins/NewTest/help.lua) | 0 | ||||
-rw-r--r-- | Plugins/Core/item.lua (renamed from Plugins/NewTest/item.lua) | 0 | ||||
-rw-r--r-- | Plugins/Core/kick.lua (renamed from Plugins/NewTest/kick.lua) | 0 | ||||
-rw-r--r-- | Plugins/Core/main.lua (renamed from Plugins/NewTest/main.lua) | 8 | ||||
-rw-r--r-- | Plugins/Core/motd.lua (renamed from Plugins/NewTest/motd.lua) | 0 | ||||
-rw-r--r-- | Plugins/Core/onblockplace.lua (renamed from Plugins/NewTest/onblockplace.lua) | 0 | ||||
-rw-r--r-- | Plugins/Core/onkilled.lua (renamed from Plugins/NewTest/onkilled.lua) | 0 | ||||
-rw-r--r-- | Plugins/Core/onlogin.lua (renamed from Plugins/NewTest/onlogin.lua) | 0 | ||||
-rw-r--r-- | Plugins/Core/onplayerjoin.lua (renamed from Plugins/NewTest/onplayerjoin.lua) | 0 | ||||
-rw-r--r-- | Plugins/Core/playerlist.lua (renamed from Plugins/NewTest/playerlist.lua) | 0 | ||||
-rw-r--r-- | Plugins/Core/pluginlist.lua (renamed from Plugins/NewTest/pluginlist.lua) | 0 | ||||
-rw-r--r-- | Plugins/Core/reload.lua (renamed from Plugins/NewTest/reload.lua) | 0 | ||||
-rw-r--r-- | Plugins/Core/spawn.lua (renamed from Plugins/NewTest/spawn.lua) | 0 | ||||
-rw-r--r-- | Plugins/Core/teleport.lua (renamed from Plugins/NewTest/teleport.lua) | 0 | ||||
-rw-r--r-- | Plugins/Core/time.lua (renamed from Plugins/NewTest/time.lua) | 0 | ||||
-rw-r--r-- | Plugins/Core/top.lua (renamed from Plugins/NewTest/top.lua) | 0 | ||||
-rw-r--r-- | Plugins/Core/unban.lua (renamed from Plugins/NewTest/unban.lua) | 0 |
20 files changed, 7 insertions, 1 deletions
diff --git a/Plugins/NewTest/ban.lua b/Plugins/Core/ban.lua index a6a662c3c..a6a662c3c 100644 --- a/Plugins/NewTest/ban.lua +++ b/Plugins/Core/ban.lua diff --git a/Plugins/NewTest/gamemode.lua b/Plugins/Core/gamemode.lua index 1e73b46fd..1e73b46fd 100644 --- a/Plugins/NewTest/gamemode.lua +++ b/Plugins/Core/gamemode.lua diff --git a/Plugins/NewTest/gotoworld.lua b/Plugins/Core/gotoworld.lua index d5113b667..d5113b667 100644 --- a/Plugins/NewTest/gotoworld.lua +++ b/Plugins/Core/gotoworld.lua diff --git a/Plugins/NewTest/help.lua b/Plugins/Core/help.lua index 02ef25ebd..02ef25ebd 100644 --- a/Plugins/NewTest/help.lua +++ b/Plugins/Core/help.lua diff --git a/Plugins/NewTest/item.lua b/Plugins/Core/item.lua index 942fa8ce6..942fa8ce6 100644 --- a/Plugins/NewTest/item.lua +++ b/Plugins/Core/item.lua diff --git a/Plugins/NewTest/kick.lua b/Plugins/Core/kick.lua index ff4f8a705..ff4f8a705 100644 --- a/Plugins/NewTest/kick.lua +++ b/Plugins/Core/kick.lua diff --git a/Plugins/NewTest/main.lua b/Plugins/Core/main.lua index 3dfa3f2f1..90f86938f 100644 --- a/Plugins/NewTest/main.lua +++ b/Plugins/Core/main.lua @@ -12,7 +12,7 @@ ItemsTable = {} function Initialize( Plugin )
PLUGIN = Plugin
- Plugin:SetName( "NewCore" )
+ Plugin:SetName( "Core" )
Plugin:SetVersion( 8 )
PluginManager = cRoot:Get():GetPluginManager()
@@ -127,6 +127,12 @@ function Initialize( Plugin ) end
end
+ local WebPlugin = Plugin:CreateWebPlugin()
+ WebPlugin:SetName( Plugin:GetName() )
+ WebPlugin:AddTab( "Whitelist", HandleRequest_WhiteList )
+ WebPlugin:AddTab( "Reload", HandleRequest_Reload )
+ WebPlugin:AddTab( "Playerlist", HandleRequest_PlayerList )
+
LOG( "Initialized " .. Plugin:GetName() .. " v." .. Plugin:GetVersion() )
return true
end
\ No newline at end of file diff --git a/Plugins/NewTest/motd.lua b/Plugins/Core/motd.lua index 49cdcecad..49cdcecad 100644 --- a/Plugins/NewTest/motd.lua +++ b/Plugins/Core/motd.lua diff --git a/Plugins/NewTest/onblockplace.lua b/Plugins/Core/onblockplace.lua index ba75bf5c2..ba75bf5c2 100644 --- a/Plugins/NewTest/onblockplace.lua +++ b/Plugins/Core/onblockplace.lua diff --git a/Plugins/NewTest/onkilled.lua b/Plugins/Core/onkilled.lua index a8a92f667..a8a92f667 100644 --- a/Plugins/NewTest/onkilled.lua +++ b/Plugins/Core/onkilled.lua diff --git a/Plugins/NewTest/onlogin.lua b/Plugins/Core/onlogin.lua index a706f8024..a706f8024 100644 --- a/Plugins/NewTest/onlogin.lua +++ b/Plugins/Core/onlogin.lua diff --git a/Plugins/NewTest/onplayerjoin.lua b/Plugins/Core/onplayerjoin.lua index e8263f608..e8263f608 100644 --- a/Plugins/NewTest/onplayerjoin.lua +++ b/Plugins/Core/onplayerjoin.lua diff --git a/Plugins/NewTest/playerlist.lua b/Plugins/Core/playerlist.lua index c120f068f..c120f068f 100644 --- a/Plugins/NewTest/playerlist.lua +++ b/Plugins/Core/playerlist.lua diff --git a/Plugins/NewTest/pluginlist.lua b/Plugins/Core/pluginlist.lua index 6cb767868..6cb767868 100644 --- a/Plugins/NewTest/pluginlist.lua +++ b/Plugins/Core/pluginlist.lua diff --git a/Plugins/NewTest/reload.lua b/Plugins/Core/reload.lua index e2b338ba1..e2b338ba1 100644 --- a/Plugins/NewTest/reload.lua +++ b/Plugins/Core/reload.lua diff --git a/Plugins/NewTest/spawn.lua b/Plugins/Core/spawn.lua index 73034d9cf..73034d9cf 100644 --- a/Plugins/NewTest/spawn.lua +++ b/Plugins/Core/spawn.lua diff --git a/Plugins/NewTest/teleport.lua b/Plugins/Core/teleport.lua index 9fffec9a2..9fffec9a2 100644 --- a/Plugins/NewTest/teleport.lua +++ b/Plugins/Core/teleport.lua diff --git a/Plugins/NewTest/time.lua b/Plugins/Core/time.lua index 425d69e6a..425d69e6a 100644 --- a/Plugins/NewTest/time.lua +++ b/Plugins/Core/time.lua diff --git a/Plugins/NewTest/top.lua b/Plugins/Core/top.lua index 0f7a8f95f..0f7a8f95f 100644 --- a/Plugins/NewTest/top.lua +++ b/Plugins/Core/top.lua diff --git a/Plugins/NewTest/unban.lua b/Plugins/Core/unban.lua index 9defbe323..9defbe323 100644 --- a/Plugins/NewTest/unban.lua +++ b/Plugins/Core/unban.lua |