View Single Post
  #2  
Old 06-22-2013, 05:40 AM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,603
Default

Open your eqemu_config.xml in your server folder and set the default status to 0 and demote all players.
XML Below, code for demoting everyone below the XML.
Code:
<?xml version="1.0">
 <server>

<world>

<!-- Set the shortname to ONE word. The longname is what shows up on server list -->
 <shortname>XXXXXXXXXXXXX</shortname> 
 <longname>XXXXXXXXXXXXXXX</longname>



<!-- DO NOT EDIT ANY LINES BETWEEN HERE AND THE DATABASE SECTION -->
 <!-- <address>do.not.edit</address> -->
 <!-- <localaddress>do.not.edit</localaddress> -->



<!-- Loginserver information. DO NOT EDIT -->
 <loginserver>

<host>eqemulator.net</host>
 <port>5998</port>
 <account>XXXXXXXX</account>
 <password>XXXXXXXXXXXXX</password>

</loginserver>


<!-- Server status. Default is unlocked DO NOT EDIT RIGHT NOW -->
 <!--<locked/>-->
 <!-- <unlocked/> -->



<!-- Sets the ip/port for the tcp connections. DO NOT EDIT -->
 <tcp ip="127.0.0.1" port="9000" telnet="disable"/>



<!-- Sets the shared key used by zone/launcher to connect to world -->
 <key>somelongrandomstring12345</key>

 <!-- Enable and set the port for the HTTP service. Defaults are shown -->
 <http port="9080" enabled="false" mimefile="mime.types" />

</world>

<!-- Chatserver (channels) information. DO NOT EDIT -->
 <chatserver>

<host>192.168.1.x</host>
 <port>7778</port>

</chatserver>

<!-- Mailserver (in-game mail) information. DO NOT EDIT -->
 <mailserver>

<host>192.168.1.x</host>
 <port>7778</port>

</mailserver>

 <zones>

<!-- The defaultstatus is what status the new toons will have on your server -->
 <defaultstatus>0</defaultstatus>



<!-- Sets port range for world to use to auto configure zones DO NOT EDIT RIGHT NOW-->
 <ports low="7000" high="7100"/>

</zones>

<!-- Set username to root and password is your MySQL password and db to peq -->
 <database>

<host>127.0.0.1</host>
 <port>3306</port>
 <username>root</username>
 <password>XXXXXX</password>
 <db>XXXXXX</db>

</database>
 <qsdatabase>

<host>127.0.0.1</host>
 <port>3306</port>
 <username>root</username>
 <password>XXXXXX</password>
 <db>XXXXXXX</db>

</qsdatabase>

<!-- Launcher Configuration DO NOT EDIT-->
 <launcher>

<!-- <logprefix>logs/zone-</logprefix> -->
 <!-- <logsuffix>.log</logsuffix> -->
 <!-- <exe>zone.exe</exe> -->
 <!-- <timers restart="10000" reterminate="10000"> -->

</launcher>

<!-- File locations. DO NOT EDIT -->
 <files>

<!-- <spells>spells_us.txt</spells> -->
 <!-- <opcodes>opcodes.conf</opcodes> -->
 <!-- <logsettings>log.ini</logsettings> -->
 <!-- <eqtime>eqtime.cfg</eqtime> -->

</files>
 <!-- Directory locations. DO NOT EDIT -->
 <directories>

<!-- <maps>Maps</maps> -->
 <!-- <quests>quests</quests> -->
 <!-- <plugins>plugins</plugins> -->

</directories></server>
Code:
UPDATE account SET status = 0 WHERE status = 20;
Reply With Quote