summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Core (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added "Latest version" to the PrimaryServerVersion in webadmin settings (patch contributed by STR_Warrior)madmaxoft@gmail.com2012-12-211-4/+5
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1091 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added PrimaryServerVersion to the webadmin (patch contributed by STR_Warrior)madmaxoft@gmail.com2012-12-211-4/+18
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1088 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Refactored the world time.madmaxoft@gmail.com2012-11-011-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
* Core: fixed /help and /pluginlistfaketruth2012-10-162-22/+26
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@967 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now)faketruth2012-10-141-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
* Core: Removed /home since other plugins want to use itfaketruth2012-10-111-1/+0
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@951 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Core: made ban and kick functions accessible to other pluginsfaketruth2012-10-113-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
* Core now uses built in item functions ( StringToItem() ) for the /item commandfaketruth2012-09-082-65/+8
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@855 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added cPlugin_NewLua::GetLocalDirectory() and exported it to Lua so plugins can store their settings in their own folder.faketruth2012-09-081-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
* Added a RateCompareString function to StringUtilsfaketruth2012-08-234-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
* WebAdmin should not cause crashes anymorefaketruth2012-08-221-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
* Fixed cWebPlugin_Lua being not thread safe. And I don't know why, but it still crashes in Lua sometimes o_Ofaketruth2012-08-221-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
* Chat history limit on the WebAdmin chatfaketruth2012-08-221-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
* Web chat for the WebAdmin :Dfaketruth2012-08-222-0/+112
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@773 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Can add/remove worlds from WebAdminfaketruth2012-08-211-2/+77
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@770 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Using multi line strings for Core's WebAdmin interfacefaketruth2012-08-211-51/+52
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@769 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed server settings on FireFoxfaketruth2012-08-211-2/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@768 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Can change monster settings in WebAdmin toofaketruth2012-08-201-5/+48
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@767 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Can now edit some generic server settings through the WebAdmin (port, description, etc)faketruth2012-08-202-0/+111
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@766 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Updated clean.bat for cleaning MCServer filesfaketruth2012-08-201-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
* Moved files used by MCServer to a special MCServer folderfaketruth2012-08-2030-0/+1129
git-svn-id: http://mc-server.googlecode.com/svn/trunk@763 0a769ca7-a7f5-676a-18bf-c427514a06d6