1
0
Commit Graph

538 Commits

Author SHA1 Message Date
madmaxoft@gmail.com
47fbda1446 Recipe update by STR_Warrior
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1056 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-20 20:37:30 +00:00
madmaxoft@gmail.com
18b73e471f Updated crafting and items to 1.4.4 (initial patch by STR_Warrior)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1051 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-17 09:27:27 +00:00
madmaxoft@gmail.com
c98dbf8756 Removed the protocol restriction from default debugging settings.ini
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1026 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-10 12:14:02 +00:00
madmaxoft@gmail.com
4cebaa99f8 Refactored the world time.
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-11-01 21:38:20 +00:00
madmaxoft@gmail.com
08a20492ef Added the [Server].PrimaryServerVersion setting to settings.ini; 1.4.2 gets the correct version
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1018 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-31 19:54:42 +00:00
madmaxoft@gmail.com
bd29042dcd Removed unused [Physics].Water section from settings.ini.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@982 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-19 20:51:46 +00:00
madmaxoft@gmail.com
cda079f83b Turned sTick plugin into general Debuggers plugin, added the Blaze Rod Of Enquiry (rclk with a blaze rod prints out the blocktypes and metas)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@968 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-16 08:20:45 +00:00
faketruth
6d121a4914 Core: fixed /help and /pluginlist
git-svn-id: http://mc-server.googlecode.com/svn/trunk@967 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-15 22:55:45 +00:00
madmaxoft@gmail.com
dd554175a4 Biomal CompoGen now generates sea with STATIONARY_WATER instead of regular WATER.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@962 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-14 17:05:00 +00:00
faketruth
41ba1a7642 Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now)
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-13 23:34:47 +00:00
faketruth
12b536d467 Core: Removed /home since other plugins want to use it
git-svn-id: http://mc-server.googlecode.com/svn/trunk@951 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-11 21:02:02 +00:00
faketruth
58ed9498fb Fixed chatlog plugin
Fixed references to settings files in VS2008 project

git-svn-id: http://mc-server.googlecode.com/svn/trunk@948 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-11 14:58:41 +00:00
faketruth
0433de9955 Core: made ban and kick functions accessible to other plugins
Core: fixed banning and whitelisting in OnLogin

git-svn-id: http://mc-server.googlecode.com/svn/trunk@947 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-11 14:30:28 +00:00
madmaxoft@gmail.com
9af881609b Removed redstone from settings.ini, added a note about wiki and webadmin
git-svn-id: http://mc-server.googlecode.com/svn/trunk@938 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-06 20:12:54 +00:00
madmaxoft@gmail.com
04c43ac8f5 New example plugin using the BlockArea functionality.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@934 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-06 17:01:01 +00:00
madmaxoft@gmail.com
9fa165488b sTick: Updated the plugin to work with current code
git-svn-id: http://mc-server.googlecode.com/svn/trunk@920 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-03 07:24:25 +00:00
madmaxoft@gmail.com
0c70ac983d Fixed axe crafting (cannot use asterisk)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@907 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 15:06:16 +00:00
madmaxoft@gmail.com
2e0329e618 Removed the extra world from default settings.ini
(Probably an accident from rev 900)

git-svn-id: http://mc-server.googlecode.com/svn/trunk@906 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 14:58:57 +00:00
madmaxoft@gmail.com
0598fbba0c Crafting recipes for 1.3.2 (patch submitted by STR_Warrior)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@903 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 14:51:51 +00:00
faketruth
fe61687b97 Made beds placeable
Android: Updated some stuff and set default view distance lower

git-svn-id: http://mc-server.googlecode.com/svn/trunk@900 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 13:41:47 +00:00
faketruth
917259f2e7 Core now uses built in item functions ( StringToItem() ) for the /item command
git-svn-id: http://mc-server.googlecode.com/svn/trunk@855 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-08 21:41:17 +00:00
faketruth
6bc916fc3c Added cPlugin_NewLua::GetLocalDirectory() and exported it to Lua so plugins can store their settings in their own folder.
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-09-08 20:49:29 +00:00
tau.tihon@gmail.com
d5f8701f63 Updated to V6 - "Stop" and "Progress report" functionality
git-svn-id: http://mc-server.googlecode.com/svn/trunk@807 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-30 15:54:51 +00:00
madmaxoft@gmail.com
d2469d857a ChunkWorx: fixed API change breaking exact and 3x3 playerpos regeneration (fix contributed by Taugeshtu)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@806 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-30 12:37:55 +00:00
madmaxoft@gmail.com
66300ea7a6 Added the ChunkWorx plugin to SVN (contributed by Taugeshtu)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@797 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-27 19:06:11 +00:00
faketruth
49a4613d94 Added a RateCompareString function to StringUtils
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-22 23:05:12 +00:00
faketruth
7c84349990 WebAdmin should not cause crashes anymore
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-22 14:22:21 +00:00
faketruth
0da4f7eaa2 Fixed cWebPlugin_Lua being not thread safe. And I don't know why, but it still crashes in Lua sometimes o_O
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-22 12:24:29 +00:00
faketruth
e086b931ea Chat history limit on the WebAdmin chat
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-22 11:22:26 +00:00
faketruth
b5c4994475 Web chat for the WebAdmin :D
git-svn-id: http://mc-server.googlecode.com/svn/trunk@773 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-22 00:35:06 +00:00
madmaxoft@gmail.com
39ff5b0985 Fixed nightbuild script after files move.
Also moved licenses and Install-related files to Install folder.
The 7z archives are now built inside the Install folder, instead of the root

git-svn-id: http://mc-server.googlecode.com/svn/trunk@771 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-21 15:25:17 +00:00
faketruth
b20e94d48d Can add/remove worlds from WebAdmin
git-svn-id: http://mc-server.googlecode.com/svn/trunk@770 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-21 14:24:23 +00:00
faketruth
9aa41dde2f Using multi line strings for Core's WebAdmin interface
git-svn-id: http://mc-server.googlecode.com/svn/trunk@769 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-21 13:18:23 +00:00
faketruth
e940b2d05d Fixed server settings on FireFox
git-svn-id: http://mc-server.googlecode.com/svn/trunk@768 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-21 11:10:54 +00:00
faketruth
9a08f3dc59 Can change monster settings in WebAdmin too
git-svn-id: http://mc-server.googlecode.com/svn/trunk@767 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-20 19:10:19 +00:00
faketruth
af8c915461 Can now edit some generic server settings through the WebAdmin (port, description, etc)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@766 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-20 16:36:40 +00:00
faketruth
1bfdab379a Updated clean.bat for cleaning MCServer files
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-20 12:34:07 +00:00
faketruth
12906c026d Moved files used by MCServer to a special MCServer folder
git-svn-id: http://mc-server.googlecode.com/svn/trunk@763 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-20 12:20:20 +00:00