summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ProtectionAreas: Implemented the ProtRemUserAll command's DB accessmadmaxoft@gmail.com2013-06-082-3/+11
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1567 0a769ca7-a7f5-676a-18bf-c427514a06d6
* ProtectionAreas: Implemented adding users to an area in the DBmadmaxoft@gmail.com2013-06-082-2/+58
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1566 0a769ca7-a7f5-676a-18bf-c427514a06d6
* ProtectionAreas: Added ProtListUsers, implemented ProtRemoveUser, fixed ProtDelID commandsmadmaxoft@gmail.com2013-06-083-7/+132
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1565 0a769ca7-a7f5-676a-18bf-c427514a06d6
* ProtectionAreas: ProtList works directly above the DB, displays areas' IDs and creators. ProtAdd and ProtAddCoords commands show the ID of the new areamadmaxoft@gmail.com2013-06-082-20/+52
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1564 0a769ca7-a7f5-676a-18bf-c427514a06d6
* ProtectionAreas: The areas are now read from the DB (once)madmaxoft@gmail.com2013-06-073-14/+58
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1563 0a769ca7-a7f5-676a-18bf-c427514a06d6
* ProtectionAreas: Fixed cCommandState's detection of not-selectedmadmaxoft@gmail.com2013-06-071-4/+7
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1562 0a769ca7-a7f5-676a-18bf-c427514a06d6
* ProtectionAreas: Implemented all command handlers.madmaxoft@gmail.com2013-06-076-76/+327
| | | | | | They still call unimplemented methods in the DB, and haven't been properly tested git-svn-id: http://mc-server.googlecode.com/svn/trunk@1561 0a769ca7-a7f5-676a-18bf-c427514a06d6
* ProtectionAreas: Newly added areas are stored in the DBmadmaxoft@gmail.com2013-06-063-6/+85
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1560 0a769ca7-a7f5-676a-18bf-c427514a06d6
* ProtectionAreas: Added cStorage initializationmadmaxoft@gmail.com2013-06-062-1/+118
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1559 0a769ca7-a7f5-676a-18bf-c427514a06d6
* ProtectionAreas: Actual protection is now working, areas are hard-coded (10,10) - (20,20)madmaxoft@gmail.com2013-06-045-12/+72
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1557 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added cItem copy-constructor to Lua API, made cItem::IsEqual() and IsStackable() enchantment-awaremadmaxoft@gmail.com2013-06-041-3/+3
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1546 0a769ca7-a7f5-676a-18bf-c427514a06d6
* LuaWindow: Fixed memory leaks with unclosed windowsmadmaxoft@gmail.com2013-06-021-3/+3
| | | | | | | A player disconnecting will now force all windows to close, not respecting any plugin's overrides. http://forum.mc-server.org/showthread.php?tid=1146&pid=8350#pid8350 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1543 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added the possibility to specify enchantments by name in the constructor and AddFromString() functionmadmaxoft@gmail.com2013-06-021-0/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1542 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Enchantments are now stored in Anvil world and in player inventorymadmaxoft@gmail.com2013-06-021-1/+9
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1541 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Enchantments: API and sending to clientmadmaxoft@gmail.com2013-06-021-0/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1539 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added cLuaWindow:SetOnSlotChanged(); the callback is called only for non-inventory slotsmadmaxoft@gmail.com2013-05-311-0/+6
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1535 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added the OnClosing callback to cLuaWindow APImadmaxoft@gmail.com2013-05-301-0/+9
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1534 0a769ca7-a7f5-676a-18bf-c427514a06d6
* LuaWindow: Initial code, the window can be opened, but not much manipulatedmadmaxoft@gmail.com2013-05-301-5/+64
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1532 0a769ca7-a7f5-676a-18bf-c427514a06d6
* ProtectionAreas: Fixed a mistyped variable namemadmaxoft@gmail.com2013-05-261-1/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1518 0a769ca7-a7f5-676a-18bf-c427514a06d6
* ProtectionAreas: missed 2 filesmadmaxoft@gmail.com2013-05-262-0/+122
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1517 0a769ca7-a7f5-676a-18bf-c427514a06d6
* ProtectionAreas: Initial project import, skeleton codemadmaxoft@gmail.com2013-05-267-0/+353
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1516 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Implemented droppersmadmaxoft@gmail.com2013-05-261-13/+12
| | | | | | Added a common ancestor class "DropSpenser" that has the common code for dropper and dispenser and is Lua-accessible, too. The Debuggers plugin now triggers both droppers and dispensers when rclking them with a redstone torch. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1514 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added all new bindings, refactored Debuggers; new Debuggers function.madmaxoft@gmail.com2013-05-252-104/+194
| | | | | | Rclk with a redstone torch on a dispenser causes the dispenser to spit out one item each tick. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1509 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Refactored cInventory to use cItemGrid for the actual Storagemadmaxoft@gmail.com2013-05-242-24/+27
| | | | | | 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
* Added Decoda projects for ChunkWorx and Coremadmaxoft@gmail.com2013-05-212-0/+135
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1500 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Inventory changes made by plugins are now propagated to the clientmadmaxoft@gmail.com2013-05-191-0/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1495 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Debuggers: a simple test of armor slot settingmadmaxoft@gmail.com2013-05-191-2/+12
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1494 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Debuggers: sorted things into separate functions, commented out most of them; added ForEachEntity() testing - list all and kill all entities.madmaxoft@gmail.com2013-05-191-33/+130
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1492 0a769ca7-a7f5-676a-18bf-c427514a06d6
* WebAdmin: The plugin list is sorted alphabetically and if they are enabled or disabled. nielsbreu@gmail.com2013-05-171-4/+18
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1488 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Updated the core's settings.ini settings tabnielsbreu@gmail.com2013-05-081-4/+6
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1462 0a769ca7-a7f5-676a-18bf-c427514a06d6
* made the permission page more manageable.nielsbreu@gmail.com2013-05-061-2/+21
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1453 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed the stop and restart button in the manage server tab.nielsbreu@gmail.com2013-05-061-2/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1450 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added lots of new options in the world config tab.nielsbreu@gmail.com2013-05-031-1/+335
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1440 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed bug where you could not use /time day/nightnielsbreu@gmail.com2013-04-231-3/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1407 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Simplified onkilling.lua and added /time set and /time addnielsbreu@gmail.com2013-04-202-35/+18
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1398 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added Expat and LuaExpat, XML parsing now available in the API.madmaxoft2013-04-091-0/+27
| | | | | | | FS #336 Windows version only, Linux to be fixed soon. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1374 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added SQLite and LuaSQLite, Lua plugins can now use SQLite.madmaxoft@gmail.com2013-04-071-0/+30
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1368 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added a tab in the serversettings where you can edit the world.ini of all your worlds.nielsbreu@gmail.com2013-04-061-9/+332
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1364 0a769ca7-a7f5-676a-18bf-c427514a06d6
* for some reason TortoiseSVN didn't commit listgroups.luanielsbreu@gmail.com2013-04-031-0/+14
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1354 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added a /listgroups where you can see... a list of the groups ;)nielsbreu@gmail.com2013-04-032-0/+28
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1352 0a769ca7-a7f5-676a-18bf-c427514a06d6
* BlockArea: Finished rotation and mirroring with meta. Implemented example meta handling for vines, stairs and torches.madmaxoft@gmail.com2013-03-261-0/+31
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1319 0a769ca7-a7f5-676a-18bf-c427514a06d6
* BlockArea: Implemented rotation without meta manipulationmadmaxoft@gmail.com2013-03-251-0/+12
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1317 0a769ca7-a7f5-676a-18bf-c427514a06d6
* BlockArea: Implemented mirroring without meta manipulationmadmaxoft@gmail.com2013-03-251-0/+18
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1316 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added a /toggledownfall command that toggles the weather.nielsbreu@gmail.com2013-03-243-3/+12
| | | | | | changed back the stop.lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@1312 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Updated core plugin.nielsbreu@gmail.com2013-03-2410-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
* Core: added PortsIPv6 setting to webadmin (contributed by STR_Warrior)madmaxoft2013-03-081-0/+5
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1261 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Debuggers plugin no longer performs generator / blockarea interface testing by default, but writes the current API.txt file.madmaxoft@gmail.com2013-03-031-2/+4
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1245 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Core: Updated with new features (contributed by STR_Warrior)madmaxoft@gmail.com2013-03-028-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
* Added HOOK_EXECUTE_COMMAND for intercepting executed commands and console commands.madmaxoft@gmail.com2013-02-211-0/+16
| | | | | | Note that built-in console commands are exempt to this hook - they are always performed and the hook is not called. Also note that, for reasons unknown, the HookNotify plugin doesn't list the callback arguments. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1221 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Core: Players console command now shows players' IP addresses (patch contributed by STR_Warrior)madmaxoft@gmail.com2013-02-191-1/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1220 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Plugins can now bind console commandsmadmaxoft@gmail.com2013-02-152-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
* Implemented the cBlockArea:RelLine() API function.madmaxoft@gmail.com2013-02-131-0/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1211 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added HOOK_WEATHER_CHANGING.madmaxoft@gmail.com2013-02-131-3/+12
| | | | | | http://www.mc-server.org/support/index.php?do=details&task_id=299 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1210 0a769ca7-a7f5-676a-18bf-c427514a06d6
* More API functions in cBlockArea: Create(), Fill(), FillRelArea()madmaxoft@gmail.com2013-02-111-0/+4
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1208 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added cBlockArea:Merge() API function to merge two block areas using different strategies.madmaxoft@gmail.com2013-02-101-0/+14
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1207 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added cBlockArea:Expand() API function (untested)madmaxoft@gmail.com2013-02-091-4/+18
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1203 0a769ca7-a7f5-676a-18bf-c427514a06d6
* cChunkDesc can now read and write cBlockAreas.madmaxoft@gmail.com2013-02-081-2/+18
| | | | | | A simple example is provided in the Debuggers plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1201 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added cBlockArea:CopyTo() and :CopyFrom(), so now block areas can be duplicated easily.madmaxoft@gmail.com2013-02-071-3/+6
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1199 0a769ca7-a7f5-676a-18bf-c427514a06d6
* cBlockArea can now be saved as a .schematic file.madmaxoft@gmail.com2013-02-071-0/+19
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1198 0a769ca7-a7f5-676a-18bf-c427514a06d6
* cBlockArea can now be loaded from a .schematic file.madmaxoft@gmail.com2013-02-061-0/+17
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1195 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added a new API call to cBlockArea: Crop().madmaxoft@gmail.com2013-02-061-1/+30
| | | | | | Also fixed cBlockArea:MakeIndex(), the indexing was wrong. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1194 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added new hooks: OnChunkAvailable(), OnChunkUnloaded() and OnChunkUnloading(). Modified OnChunkGenerated() signature.madmaxoft@gmail.com2013-02-051-0/+27
| | | | | | http://forum.mc-server.org/showthread.php?tid=464&pid=6312#pid6312 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1193 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Debuggers plugin dumps entire API into a file, API.txt. Enabled by default.madmaxoft@gmail.com2013-02-021-6/+17
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1188 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Updated MagicCarpet to work with current APImadmaxoft@gmail.com2013-02-012-9/+27
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1185 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Moved command API into cPluginManager.madmaxoft@gmail.com2013-02-013-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
* Renamed HOOK_KILLED to HOOK_KILLING to match naming conventions.madmaxoft@gmail.com2013-01-283-9/+9
| | | | | | 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
* Updated HookNotify with the hook renaming.madmaxoft@gmail.com2013-01-281-3/+3
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1181 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added cItems to Lua API.madmaxoft@gmail.com2013-01-271-2/+10
| | | | | | Now HOOK_BLOCK_TO_PICKUPS is fully functional, as demonstrated by HookNotify. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1178 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Debuggers: added some filtering to the API output, but still not good enough.madmaxoft@gmail.com2013-01-271-7/+9
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1177 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added the HOOK_BLOCK_TO_PICKUPS hook that fires when a block is dug up and should be converted to pickups.madmaxoft@gmail.com2013-01-271-0/+11
| | | | | | Note that cItems is used in the function signature but not yet exported in the API, TODO! git-svn-id: http://mc-server.googlecode.com/svn/trunk@1176 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Changed HOOK_PLAYER_MOVED to HOOK_PLAYER_MOVING to match the scheme used for names.madmaxoft@gmail.com2013-01-261-3/+3
| | | | | | -ING means the event is being processed and may be refused by a plugin, -ED means it has already happenned and the plugin cannot do anything about it. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1174 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added a function to dump all available Lua API functions into the Debuggers plugin.madmaxoft@gmail.com2013-01-261-0/+23
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1173 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Renamed rclk hook to HOOK_PLAYER_RIGHT_CLICK.madmaxoft@gmail.com2013-01-181-1/+1
| | | | | | http://forum.mc-server.org/showthread.php?tid=464&pid=6163#pid6163 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1158 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added Handy plugintau.tihon@gmail.com2013-01-162-0/+383
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1153 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Forgotten files for previous merge commit (rev 1139)madmaxoft@gmail.com2013-01-1312-53/+405
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1140 0a769ca7-a7f5-676a-18bf-c427514a06d6
* 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 TakeDamage logging to the Debuggers plugin.madmaxoft@gmail.com2012-12-211-0/+11
| | | | | | http://forum.mc-server.org/showthread.php?tid=625&pid=5720#pid5720 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1089 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
* Turned sTick plugin into general Debuggers plugin, added the Blaze Rod Of Enquiry (rclk with a blaze rod prints out the blocktypes and metas)madmaxoft@gmail.com2012-10-163-39/+69
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@968 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
* Fixed chatlog pluginfaketruth2012-10-111-1/+1
| | | | | | Fixed references to settings files in VS2008 project git-svn-id: http://mc-server.googlecode.com/svn/trunk@948 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
* New example plugin using the BlockArea functionality.madmaxoft@gmail.com2012-10-061-0/+83
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@934 0a769ca7-a7f5-676a-18bf-c427514a06d6
* sTick: Updated the plugin to work with current codemadmaxoft@gmail.com2012-10-032-10/+11
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@920 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
* Updated to V6 - "Stop" and "Progress report" functionalitytau.tihon@gmail.com2012-08-302-185/+228
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@807 0a769ca7-a7f5-676a-18bf-c427514a06d6
* ChunkWorx: fixed API change breaking exact and 3x3 playerpos regeneration (fix contributed by Taugeshtu)madmaxoft@gmail.com2012-08-302-5/+11
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@806 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added the ChunkWorx plugin to SVN (contributed by Taugeshtu)madmaxoft@gmail.com2012-08-272-0/+344
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@797 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-2036-0/+1359
git-svn-id: http://mc-server.googlecode.com/svn/trunk@763 0a769ca7-a7f5-676a-18bf-c427514a06d6