1
0

Removed settings/webadmin.example.ini files

Additionally, added some default plugins to autogeneration. Also moved
nbt examples to docs/NBT Examples.
This commit is contained in:
Tiger Wang 2013-11-04 22:06:23 +00:00
parent e832736e0b
commit 0c2c803a16
6 changed files with 6 additions and 41 deletions

View File

@ -11,5 +11,3 @@ Lua-LICENSE.txt
LuaExpat-license.html LuaExpat-license.html
LuaSQLite3-LICENSE.txt LuaSQLite3-LICENSE.txt
MersenneTwister-LICENSE.txt MersenneTwister-LICENSE.txt
settings.example.ini
webadmin.example.ini

View File

@ -1,32 +0,0 @@
; This is the main server configuration
; For help, please visit the Wiki page: http://www.mc-server.org/wiki/doku.php?id=configure:settings.ini
; Most of these settings can also be set using the webadmin interface, if it is enabled.
[Server]
Port=25565
MaxPlayers=100
Description=MCServer - in C++
DefaultViewDistance=9
[Worlds]
DefaultWorld=world
[Plugins]
; Plugin=Debuggers
; Plugin=DiamondMover
; Plugin=HookNotify
Plugin=Core
Plugin=ChunkWorx
Plugin=ChatLog
Plugin=TransAPI
[Monsters]
AnimalsOn=0
AnimalSpawnInterval=10
Types=Spider,Chicken,Cow,Pig,Sheep,Squid,Enderman,Zombiepigman,Cavespider,Creeper,Ghast,Silverfish,Skeleton,Slime,Spider,Zombie
[Authentication]
Server=session.minecraft.net
Address=/game/checkserver.jsp?user=%USERNAME%&serverId=%SERVERID%
Authenticate=0

View File

@ -1,6 +0,0 @@
[WebAdmin]
Enabled=1
Port=8081
[User:admin]
Password=admin

View File

@ -119,7 +119,12 @@ void cPluginManager::ReloadPluginsNow(cIniFile & a_SettingsIni)
if (KeyNum == -1) if (KeyNum == -1)
{ {
a_SettingsIni.AddKeyName("Plugins"); a_SettingsIni.AddKeyName("Plugins");
a_SettingsIni.AddKeyComment("Plugins", " Plugin=Core"); a_SettingsIni.AddKeyComment("Plugins", " Plugin=Debuggers");
a_SettingsIni.AddKeyComment("Plugins", " Plugin=HookNotify");
a_SettingsIni.AddKeyComment("Plugins", " Plugin=ChunkWorx");
a_SettingsIni.SetValue("Plugins", "Plugin", "Core");
a_SettingsIni.SetValue("Plugins", "Plugin", "TransAPI");
a_SettingsIni.SetValue("Plugins", "Plugin", "ChatLog");
} }
else if (NumPlugins > 0) else if (NumPlugins > 0)
{ {