1
0
Commit Graph

135 Commits

Author SHA1 Message Date
madmaxoft@gmail.com
97eda34a94 Rewritten furnaces
Furnaces now smelt the correct number of items.
Furnaces store their contents in a cItemGrid.
Furnace window is updated with correct items and progressbars.
Furnace recipes now use ticks instead of milliseconds.
Furnaces save and load their state completely, not missing a smelt operation.
Hoppers take items out of furnaces.
Dropped the cSlotAreaDropSpenser class, replaced it with generic cSlotAreaItemGrid

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1601 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-16 20:24:07 +00:00
madmaxoft@gmail.com
64f70c2e2c Core: fixed a warning message when using the /item command
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1600 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-16 17:23:01 +00:00
madmaxoft@gmail.com
92fc62fb4b Fixed The MagicCarpet plugin
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1590 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-15 14:26:21 +00:00
nielsbreu@gmail.com
1e6e39f10a Added the option of saving all the chunks of a world using the webadmin.
FS #354

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1588 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-13 17:05:53 +00:00
madmaxoft@gmail.com
bb3e53df08 ProtectionAreas: Added a license file.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1581 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-11 10:06:31 +00:00
madmaxoft@gmail.com
9a6694f56c ProtectionAreas: Improved command help strings
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1580 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-11 09:59:51 +00:00
madmaxoft@gmail.com
30924db508 ProtectionAreas: Moved all strings sent to players to a separate language file
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1579 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-11 09:55:46 +00:00
madmaxoft@gmail.com
c6ddc89e92 ProtectionAreas: usernames are now handled case-insensitive
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1578 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-11 08:11:08 +00:00
madmaxoft@gmail.com
e3713be451 ProtectinoAreas: Configuratino is now loaded from an INI file
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1576 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-10 12:41:05 +00:00
madmaxoft@gmail.com
2adf62e22e ProtectionAreas: Implemented reloading areas when a player moves
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1575 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-10 07:21:52 +00:00
madmaxoft@gmail.com
ed06d13b5c ProtectionAreas: Fixed area reloading
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1574 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-10 06:47:03 +00:00
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