1
0
Commit Graph

124 Commits

Author SHA1 Message Date
madmaxoft@gmail.com
1ca637f660 ProtectionAreas: Added asserts to cStorage functions so that logic errors are found faster
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1568 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-08 22:42:32 +00:00
madmaxoft@gmail.com
52fcb41dd3 ProtectionAreas: Implemented the ProtRemUserAll command's DB access
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1567 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-08 19:49:26 +00:00
madmaxoft@gmail.com
bfd1ce5e53 ProtectionAreas: Implemented adding users to an area in the DB
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1566 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-08 19:16:57 +00:00
madmaxoft@gmail.com
01260be572 ProtectionAreas: Added ProtListUsers, implemented ProtRemoveUser, fixed ProtDelID commands
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1565 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-08 16:47:03 +00:00
madmaxoft@gmail.com
2b232f5471 ProtectionAreas: ProtList works directly above the DB, displays areas' IDs and creators. ProtAdd and ProtAddCoords commands show the ID of the new area
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1564 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-08 15:06:24 +00:00
madmaxoft@gmail.com
b244f206d5 ProtectionAreas: The areas are now read from the DB (once)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1563 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-07 20:19:36 +00:00
madmaxoft@gmail.com
018adc3153 ProtectionAreas: Fixed cCommandState's detection of not-selected
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1562 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-07 19:58:02 +00:00
madmaxoft@gmail.com
9790a6817c ProtectionAreas: Implemented all command handlers.
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
2013-06-07 16:28:37 +00:00
madmaxoft@gmail.com
6cb76856ff ProtectionAreas: Newly added areas are stored in the DB
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1560 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-06 20:42:42 +00:00
madmaxoft@gmail.com
78462062f3 ProtectionAreas: Added cStorage initialization
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1559 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-06 17:10:45 +00:00
madmaxoft@gmail.com
f746d17424 ProtectionAreas: Actual protection is now working, areas are hard-coded (10,10) - (20,20)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1557 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-04 21:05:33 +00:00
madmaxoft@gmail.com
dcc3af0704 Added cItem copy-constructor to Lua API, made cItem::IsEqual() and IsStackable() enchantment-aware
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1546 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-04 11:54:44 +00:00
madmaxoft@gmail.com
8ff22344af LuaWindow: Fixed memory leaks with unclosed windows
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
2013-06-02 21:59:25 +00:00
madmaxoft@gmail.com
d2b3011c05 Added the possibility to specify enchantments by name in the constructor and AddFromString() function
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1542 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-02 21:44:24 +00:00
madmaxoft@gmail.com
73f787feb3 Enchantments are now stored in Anvil world and in player inventory
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1541 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-02 21:21:32 +00:00
madmaxoft@gmail.com
a19a070121 Enchantments: API and sending to client
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1539 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-02 10:40:20 +00:00
madmaxoft@gmail.com
bf7c2fe783 Added cLuaWindow:SetOnSlotChanged(); the callback is called only for non-inventory slots
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1535 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-31 07:16:14 +00:00
madmaxoft@gmail.com
2eb1240e14 Added the OnClosing callback to cLuaWindow API
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1534 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-30 20:40:43 +00:00
madmaxoft@gmail.com
9684f90f83 LuaWindow: Initial code, the window can be opened, but not much manipulated
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1532 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-30 19:34:09 +00:00
madmaxoft@gmail.com
976c33377c ProtectionAreas: Fixed a mistyped variable name
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1518 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-26 19:57:12 +00:00
madmaxoft@gmail.com
9a25f76697 ProtectionAreas: missed 2 files
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1517 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-26 19:21:24 +00:00
madmaxoft@gmail.com
89d9abf911 ProtectionAreas: Initial project import, skeleton code
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1516 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-26 19:20:49 +00:00
madmaxoft@gmail.com
5c3235ecdc Implemented droppers
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
2013-05-26 14:39:04 +00:00
madmaxoft@gmail.com
41db106a8f Added all new bindings, refactored Debuggers; new Debuggers function.
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
2013-05-25 12:03:20 +00:00
madmaxoft@gmail.com
cf87169737 Refactored cInventory to use cItemGrid for the actual Storage
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-24 07:30:39 +00:00
madmaxoft@gmail.com
d28ff25c33 Added Decoda projects for ChunkWorx and Core
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1500 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-21 09:30:09 +00:00
madmaxoft@gmail.com
5d3ade0267 Inventory changes made by plugins are now propagated to the client
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1495 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-19 18:41:16 +00:00
madmaxoft@gmail.com
9dab3c4e8f Debuggers: a simple test of armor slot setting
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1494 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-19 18:37:01 +00:00
madmaxoft@gmail.com
8311ee5ec6 Debuggers: sorted things into separate functions, commented out most of them; added ForEachEntity() testing - list all and kill all entities.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1492 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-19 15:45:03 +00:00
nielsbreu@gmail.com
1e4aaa774a WebAdmin: The plugin list is sorted alphabetically and if they are enabled or disabled.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1488 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-17 14:34:51 +00:00
nielsbreu@gmail.com
df2249ecb5 Updated the core's settings.ini settings tab
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1462 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-08 18:58:14 +00:00
nielsbreu@gmail.com
474b113b2f made the permission page more manageable.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1453 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-06 19:53:35 +00:00
nielsbreu@gmail.com
1e71a8a6bf Fixed the stop and restart button in the manage server tab.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1450 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-06 13:35:04 +00:00
nielsbreu@gmail.com
ad4a61ae0e Added lots of new options in the world config tab.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1440 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-03 20:22:01 +00:00
nielsbreu@gmail.com
e0e9360f25 Fixed bug where you could not use /time day/night
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1407 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-23 20:20:01 +00:00
nielsbreu@gmail.com
fd4f5b0ce5 Simplified onkilling.lua and added /time set and /time add
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1398 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-20 08:49:41 +00:00
madmaxoft
48cec90c3f Added Expat and LuaExpat, XML parsing now available in the API.
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
2013-04-09 13:43:24 +00:00
madmaxoft@gmail.com
499962029a Added SQLite and LuaSQLite, Lua plugins can now use SQLite.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1368 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-07 19:28:32 +00:00
nielsbreu@gmail.com
8050c89fab Added a tab in the serversettings where you can edit the world.ini of all your worlds.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1364 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-06 19:44:15 +00:00
nielsbreu@gmail.com
b72b7c33ac for some reason TortoiseSVN didn't commit listgroups.lua
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1354 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-03 16:30:02 +00:00
nielsbreu@gmail.com
f78a29a9b1 Added a /listgroups where you can see... a list of the groups ;)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1352 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-03 15:25:25 +00:00
nielsbreu@gmail.com
bbb8fdf21a Added missing crafting recipes.
Quartz Slabs, Chiseled Quartz Block and Pillar Quartz Block

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1343 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-01 10:39:40 +00:00
madmaxoft@gmail.com
8dc54301a4 BlockArea: Finished rotation and mirroring with meta. Implemented example meta handling for vines, stairs and torches.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1319 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-26 21:06:12 +00:00
madmaxoft@gmail.com
7ac3131984 BlockArea: Implemented rotation without meta manipulation
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1317 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-25 20:14:36 +00:00
madmaxoft@gmail.com
e0707a7af6 BlockArea: Implemented mirroring without meta manipulation
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1316 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-25 12:16:23 +00:00
nielsbreu@gmail.com
aae46468c7 Added a /toggledownfall command that toggles the weather.
changed back the stop.lua

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1312 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-24 18:41:19 +00:00
nielsbreu@gmail.com
03e29802cd Updated core plugin.
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-24 15:44:44 +00:00
madmaxoft
ef65bd6f49 Core: added PortsIPv6 setting to webadmin (contributed by STR_Warrior)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1261 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-08 09:29:22 +00:00
madmaxoft@gmail.com
185ebc4168 Debuggers plugin no longer performs generator / blockarea interface testing by default, but writes the current API.txt file.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1245 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-03 14:31:59 +00:00
madmaxoft@gmail.com
476cd25ade Core: Updated with new features (contributed by STR_Warrior)
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-03-02 14:43:46 +00:00