summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Core (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-05-24Refactored cInventory to use cItemGrid for the actual Storagemadmaxoft@gmail.com1-20/+23
This makes the API more orthogonal and is easier to use in the plugins. Also changes in the inventory are now propagated to the needed places (armor updates to BroadcastEntityEquipment etc.) even when the inventory is changed by a plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1503 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-21Added Decoda projects for ChunkWorx and Coremadmaxoft@gmail.com1-0/+126
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1500 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-17WebAdmin: The plugin list is sorted alphabetically and if they are enabled or disabled. nielsbreu@gmail.com1-4/+18
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1488 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-08Updated the core's settings.ini settings tabnielsbreu@gmail.com1-4/+6
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1462 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-06made the permission page more manageable.nielsbreu@gmail.com1-2/+21
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1453 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-06Fixed the stop and restart button in the manage server tab.nielsbreu@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1450 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-03Added lots of new options in the world config tab.nielsbreu@gmail.com1-1/+335
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1440 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-23Fixed bug where you could not use /time day/nightnielsbreu@gmail.com1-3/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1407 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-20Simplified onkilling.lua and added /time set and /time addnielsbreu@gmail.com2-35/+18
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1398 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-06Added a tab in the serversettings where you can edit the world.ini of all your worlds.nielsbreu@gmail.com1-9/+332
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1364 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-03for some reason TortoiseSVN didn't commit listgroups.luanielsbreu@gmail.com1-0/+14
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1354 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-03Added a /listgroups where you can see... a list of the groups ;)nielsbreu@gmail.com2-0/+28
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1352 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-24Added a /toggledownfall command that toggles the weather.nielsbreu@gmail.com3-3/+12
changed back the stop.lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@1312 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-24Updated core plugin.nielsbreu@gmail.com10-36/+291
Added limited world. Configurable through webadmin. Added a Manage server page in webadmin where you can reload/restart/stop the server. You can add players to groups with the webadmin. without the player have to relog first You can change someone's group in-game with a command, without the player have to relog first Hardcore mode Improved death messages git-svn-id: http://mc-server.googlecode.com/svn/trunk@1306 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-08Core: added PortsIPv6 setting to webadmin (contributed by STR_Warrior)madmaxoft1-0/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1261 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-02Core: Updated with new features (contributed by STR_Warrior)madmaxoft@gmail.com8-11/+56
http://forum.mc-server.org/showthread.php?tid=4&pid=6634#pid6634 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1235 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-19Core: Players console command now shows players' IP addresses (patch contributed by STR_Warrior)madmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1220 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-15Plugins can now bind console commandsmadmaxoft@gmail.com2-6/+196
FS #300 Most console commands are now implemented in the Core plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1214 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-01Moved command API into cPluginManager.madmaxoft@gmail.com3-104/+71
As specified in http://forum.mc-server.org/showthread.php?tid=765 , commands are now bound using a single function, cPluginManager:BindCommand(). git-svn-id: http://mc-server.googlecode.com/svn/trunk@1183 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-28Renamed HOOK_KILLED to HOOK_KILLING to match naming conventions.madmaxoft@gmail.com2-6/+6
Also tweaked the mechanics so that plugins may revive without dropping other plugins out of the picture. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1182 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-13Forgotten files for previous merge commit (rev 1139)madmaxoft@gmail.com7-37/+37
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1140 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21Added "Latest version" to the PrimaryServerVersion in webadmin settings (patch contributed by STR_Warrior)madmaxoft@gmail.com1-4/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1091 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21Added PrimaryServerVersion to the webadmin (patch contributed by STR_Warrior)madmaxoft@gmail.com1-4/+18
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1088 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-01Refactored the world time.madmaxoft@gmail.com1-2/+2
Now it is stored in two values - WorldAge (only incremented, plugins cannot change) and TimeOfDay (plugins can change). Since sub-tick precision is needed in Tick(), we store it both as number of seconds (double) and number of ticks (Int64) is calculated off of that. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1022 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-16Core: fixed /help and /pluginlistfaketruth2-22/+26
git-svn-id: http://mc-server.googlecode.com/svn/trunk@967 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-14Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now)faketruth1-45/+95
Removed cPlugin_Lua, obviously cPluginManager stores plugins by their (folder)name cPluginManager now scans the Plugins folder for potential plugins and adds them as non-loaded plugins Added a DisablePlugin and LoadPlugin to disable and load plugins on a per-plugin basis instead of all at once cPluginManager::FindPlugins refreshes the plugin list by removing non-existing plugins and adding new plugins Made it incredibly easy to use new plugins from the WebAdmin Exposed some food/hunger related functions in cPlayer to Lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@959 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-11Core: Removed /home since other plugins want to use itfaketruth1-1/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@951 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-11Core: made ban and kick functions accessible to other pluginsfaketruth3-34/+57
Core: fixed banning and whitelisting in OnLogin git-svn-id: http://mc-server.googlecode.com/svn/trunk@947 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-08Core now uses built in item functions ( StringToItem() ) for the /item commandfaketruth2-65/+8
git-svn-id: http://mc-server.googlecode.com/svn/trunk@855 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-08Added cPlugin_NewLua::GetLocalDirectory() and exported it to Lua so plugins can store their settings in their own folder.faketruth1-2/+2
Core now stores banned players and whitelist data in its own directory git-svn-id: http://mc-server.googlecode.com/svn/trunk@850 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-23Added a RateCompareString function to StringUtilsfaketruth4-21/+25
Created a preprocessor template (define) for DoWith* functions Exported cWorld::FindAndDoWithPlayer(), cRoot::FindAndDoWithPlayer() and cRoot::ForEachPlayer() to Lua Added a function FindAndDoWithPlayer to cRoot and cWorld. It takes a part of a player name and finds a single player based on that. Fixed Core's MOTD to contain the correct URL to the MCServer site Fixed Core /kick command Fixed Core's WebAdmin kick git-svn-id: http://mc-server.googlecode.com/svn/trunk@779 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-22WebAdmin should not cause crashes anymorefaketruth1-8/+6
Got rid of cWebPlugin_Lua cPlugin_Lua is also a cWebPlugin now, so plugins don't need a separate cWebPlugin object Changed some stuff to use AString instead of char* git-svn-id: http://mc-server.googlecode.com/svn/trunk@777 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-22Fixed cWebPlugin_Lua being not thread safe. And I don't know why, but it still crashes in Lua sometimes o_Ofaketruth1-18/+40
WebAdmin chat now supports infinite number of chat messages (only client side). The client requests only NEW chat messages from the server. git-svn-id: http://mc-server.googlecode.com/svn/trunk@776 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-22Chat history limit on the WebAdmin chatfaketruth1-62/+70
Did some refactoring on the JavaScript side of the WebAdmin chat Got rid of cRoot::sRootState Fixed a crash on the WebAdmin when a page is loaded before a world exists git-svn-id: http://mc-server.googlecode.com/svn/trunk@775 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-22Web chat for the WebAdmin :Dfaketruth2-0/+112
git-svn-id: http://mc-server.googlecode.com/svn/trunk@773 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-21Can add/remove worlds from WebAdminfaketruth1-2/+77
git-svn-id: http://mc-server.googlecode.com/svn/trunk@770 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-21Using multi line strings for Core's WebAdmin interfacefaketruth1-51/+52
git-svn-id: http://mc-server.googlecode.com/svn/trunk@769 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-21Fixed server settings on FireFoxfaketruth1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@768 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-20Can change monster settings in WebAdmin toofaketruth1-5/+48
git-svn-id: http://mc-server.googlecode.com/svn/trunk@767 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-20Can now edit some generic server settings through the WebAdmin (port, description, etc)faketruth2-0/+111
git-svn-id: http://mc-server.googlecode.com/svn/trunk@766 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-20Updated clean.bat for cleaning MCServer filesfaketruth1-1/+0
Removed accidentally added "ini editor" from Core git-svn-id: http://mc-server.googlecode.com/svn/trunk@765 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-20Moved files used by MCServer to a special MCServer folderfaketruth30-0/+1129
git-svn-id: http://mc-server.googlecode.com/svn/trunk@763 0a769ca7-a7f5-676a-18bf-c427514a06d6