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:
parent
e832736e0b
commit
0c2c803a16
@ -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
|
|
@ -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
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
|||||||
[WebAdmin]
|
|
||||||
Enabled=1
|
|
||||||
Port=8081
|
|
||||||
|
|
||||||
[User:admin]
|
|
||||||
Password=admin
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user