From b3906500c74375125708690c01382c730b84437a Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Sat, 3 Aug 2013 20:41:26 +0200 Subject: Removed all example ini files from Install. They are copied from MCServer by the nightbuild script. --- Install/.gitignore | 3 ++- Install/Zip2008.list | 7 ++----- Install/banned.example.ini | 3 --- Install/groups.example.ini | 17 ----------------- Install/settings.example.ini | 31 ------------------------------- Install/users.example.ini | 8 -------- Install/webadmin.example.ini | 6 ------ Install/whitelist.example.ini | 6 ------ MCServer/banned.example.ini | 3 +++ MCServer/groups.example.ini | 17 +++++++++++++++++ MCServer/groups.ini | 17 ----------------- MCServer/users.example.ini | 23 +++++++++++++++++++++++ MCServer/users.ini | 23 ----------------------- MCServer/whitelist.example.ini | 6 ++++++ Nightbuild2008.cmd | 3 +++ UpdateVersions.cmd | 39 --------------------------------------- 16 files changed, 56 insertions(+), 156 deletions(-) delete mode 100644 Install/banned.example.ini delete mode 100644 Install/groups.example.ini delete mode 100644 Install/settings.example.ini delete mode 100644 Install/users.example.ini delete mode 100644 Install/webadmin.example.ini delete mode 100644 Install/whitelist.example.ini create mode 100644 MCServer/banned.example.ini create mode 100644 MCServer/groups.example.ini delete mode 100644 MCServer/groups.ini create mode 100644 MCServer/users.example.ini delete mode 100644 MCServer/users.ini create mode 100644 MCServer/whitelist.example.ini delete mode 100644 UpdateVersions.cmd diff --git a/Install/.gitignore b/Install/.gitignore index 4f8f2e7cb..3b0a53050 100644 --- a/Install/.gitignore +++ b/Install/.gitignore @@ -1,3 +1,4 @@ MCServer.exe *.7z -*.tag \ No newline at end of file +*.tag +*.example.ini \ No newline at end of file diff --git a/Install/Zip2008.list b/Install/Zip2008.list index b611bf832..0b45d81f3 100644 --- a/Install/Zip2008.list +++ b/Install/Zip2008.list @@ -6,13 +6,10 @@ ..\MCServer\items.ini ..\MCServer\monsters.ini MCServer*debug.cmd -banned.example.ini -groups.example.ini +*.example.ini Lua-LICENSE.txt LuaExpat-license.html LuaSQLite3-LICENSE.txt MersenneTwister-LICENSE.txt settings.example.ini -users.example.ini -webadmin.example.ini -whitelist.example.ini \ No newline at end of file +webadmin.example.ini \ No newline at end of file diff --git a/Install/banned.example.ini b/Install/banned.example.ini deleted file mode 100644 index ba53ec59f..000000000 --- a/Install/banned.example.ini +++ /dev/null @@ -1,3 +0,0 @@ -[Banned] -;PlayerName=1 - diff --git a/Install/groups.example.ini b/Install/groups.example.ini deleted file mode 100644 index 87b28b70d..000000000 --- a/Install/groups.example.ini +++ /dev/null @@ -1,17 +0,0 @@ -[Admins] -Permissions=* -Color=c - -[Mods] -Color=5 -Inherits=Vips -Permissions=core.time,core.item - -[Vips] -Permissions=core.teleport -Color=2 -Inherits=Default - -[Default] -Permissions=core.build,core.help,core.playerlist,core.pluginlist,core.spawn -Color=7 \ No newline at end of file diff --git a/Install/settings.example.ini b/Install/settings.example.ini deleted file mode 100644 index 46f92ef74..000000000 --- a/Install/settings.example.ini +++ /dev/null @@ -1,31 +0,0 @@ -[Server] -Port=25565 -MaxPlayers=42 -Description=MCServer - Slightly more custom! - -[Worlds] -DefaultWorld=world -;World=world_sexy - -[Plugins] -NewPlugin=Core -NewPlugin=ChatLog - -[HelpPlugin] -ShowPluginNames=1 - -[Physics] -Water=0 - -[Redstone] -SimulateRedstone=0 - -[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 diff --git a/Install/users.example.ini b/Install/users.example.ini deleted file mode 100644 index 2065d3e37..000000000 --- a/Install/users.example.ini +++ /dev/null @@ -1,8 +0,0 @@ -[SomeAdmin] -Groups=Admins - -[FancyModerator] -Groups=Moderators - -[ImportantPerson] -Groups=Vips \ No newline at end of file diff --git a/Install/webadmin.example.ini b/Install/webadmin.example.ini deleted file mode 100644 index 5d6b24063..000000000 --- a/Install/webadmin.example.ini +++ /dev/null @@ -1,6 +0,0 @@ -[WebAdmin] -Enabled=1 -Port=8080 - -[User:admin] -Password=admin \ No newline at end of file diff --git a/Install/whitelist.example.ini b/Install/whitelist.example.ini deleted file mode 100644 index 7e06ba8d4..000000000 --- a/Install/whitelist.example.ini +++ /dev/null @@ -1,6 +0,0 @@ -[WhiteListSettings] -WhiteListOn=0 - -[WhiteList] -;PlayerName=1 - diff --git a/MCServer/banned.example.ini b/MCServer/banned.example.ini new file mode 100644 index 000000000..ceb71fe0b --- /dev/null +++ b/MCServer/banned.example.ini @@ -0,0 +1,3 @@ +[Banned] +;PlayerName=1 + diff --git a/MCServer/groups.example.ini b/MCServer/groups.example.ini new file mode 100644 index 000000000..87b28b70d --- /dev/null +++ b/MCServer/groups.example.ini @@ -0,0 +1,17 @@ +[Admins] +Permissions=* +Color=c + +[Mods] +Color=5 +Inherits=Vips +Permissions=core.time,core.item + +[Vips] +Permissions=core.teleport +Color=2 +Inherits=Default + +[Default] +Permissions=core.build,core.help,core.playerlist,core.pluginlist,core.spawn +Color=7 \ No newline at end of file diff --git a/MCServer/groups.ini b/MCServer/groups.ini deleted file mode 100644 index 87b28b70d..000000000 --- a/MCServer/groups.ini +++ /dev/null @@ -1,17 +0,0 @@ -[Admins] -Permissions=* -Color=c - -[Mods] -Color=5 -Inherits=Vips -Permissions=core.time,core.item - -[Vips] -Permissions=core.teleport -Color=2 -Inherits=Default - -[Default] -Permissions=core.build,core.help,core.playerlist,core.pluginlist,core.spawn -Color=7 \ No newline at end of file diff --git a/MCServer/users.example.ini b/MCServer/users.example.ini new file mode 100644 index 000000000..6726c0bf8 --- /dev/null +++ b/MCServer/users.example.ini @@ -0,0 +1,23 @@ +[FakeTruth] +Groups=Admins + +[Duralex] +Groups=Admins + +[Luthrandel] +Groups=Admins + +[cruisecho] +Groups=Admins + +[Kwen] +Groups=Admins + +[aloe_vera] +Groups=Admins + +[xoft] +Groups=Admins + +[Player] +Groups=Admins \ No newline at end of file diff --git a/MCServer/users.ini b/MCServer/users.ini deleted file mode 100644 index 6726c0bf8..000000000 --- a/MCServer/users.ini +++ /dev/null @@ -1,23 +0,0 @@ -[FakeTruth] -Groups=Admins - -[Duralex] -Groups=Admins - -[Luthrandel] -Groups=Admins - -[cruisecho] -Groups=Admins - -[Kwen] -Groups=Admins - -[aloe_vera] -Groups=Admins - -[xoft] -Groups=Admins - -[Player] -Groups=Admins \ No newline at end of file diff --git a/MCServer/whitelist.example.ini b/MCServer/whitelist.example.ini new file mode 100644 index 000000000..a89c148c9 --- /dev/null +++ b/MCServer/whitelist.example.ini @@ -0,0 +1,6 @@ +[WhiteListSettings] +WhiteListOn=0 + +[WhiteList] +;PlayerName=1 + diff --git a/Nightbuild2008.cmd b/Nightbuild2008.cmd index fdd5d3de1..11e2b3683 100644 --- a/Nightbuild2008.cmd +++ b/Nightbuild2008.cmd @@ -92,6 +92,9 @@ if errorlevel 1 goto haderror +:: Copy all the example ini files into the Install folder for zipping: +copy MCServer\*.example.ini Install\*.example.ini + :: Use 7-zip to compress the resulting files into a single file: set FILESUFFIX=%MYYEAR%_%MYMONTH%_%MYDAY%_%MYTIME%_%COMMITID% echo FILESUFFIX=%FILESUFFIX% diff --git a/UpdateVersions.cmd b/UpdateVersions.cmd deleted file mode 100644 index 1d4b00bca..000000000 --- a/UpdateVersions.cmd +++ /dev/null @@ -1,39 +0,0 @@ -@echo off -:: UpdateVersions.cmd -:: This script processes all *.template files into their non-templated variants using subwcrev, substituting WC-related keywords in the process -:: subwcrev is expected to be in path; you can pass the correct path for your system as env var "subwcrev" - - -:: Subwcrev (from TortoiseSVN, for querying revision number; by default in PATH): -if %subwcrev%a == a set subwcrev=subwcrev - - - - -:: Copy all *.template files into their non-template versions, substituting SVN keywords: -for /r %%X in (*.template) do ( - %subwcrev% . "%%X" "%%~dpX%%~nX" - if errorlevel 1 goto haderror -) - - -goto end - - - - -:haderror -echo an error was encountered, check command output above -pause -goto finished - - - - - -:end -if "a%1" == "a" pause - - - -:finished \ No newline at end of file -- cgit v1.2.3