# Sets the location where new players start on the server.
# By default, the server uses the values inside the defaultaccount.
# These values will override defaultaccount.
#startlevel = onlinestartlocal.nw
#startx = 30
#starty = 30.5

# Specifies where players go when they say "unstick me".
unstickmelevel = onlinestartlocal.nw
unstickmex = 30
unstickmey = 30.5
unstickmetime = 30

# List of weapon names (comma separated) that will be given to the player each time they connect.
protectedweapons = 

# Players in these levels can't warp out nor can they PM other players.
jaillevels = police2.graal,police4.graal

# Enable/disable explosions.
noexplosions = false

# Enable/disable the ability of the player to change their look.
setbodyallowed = true
setheadallowed = true
setshieldallowed = true
setswordallowed = true
setcolorsallowed = true

# Defines the amount of Gralats a player drops with they die.
mindeathgralats = 1
maxdeathgralats = 50

# If set to false, only players with the Change Staff Accounts right can alter gralats.
normaladminscanchangegralats = true

# These guilds appear in the "Staff" section of the player list.
staffguilds = Server,Manager,Owner,Admin,FAQ,LAT,NAT,GAT,GP,GP Chief,Bugs Admin,NPC Admin,Gani Team,GFX Admin,Events Team,Events Admin,Guild Admin

# Accounts which are recognized by the server as staff.  To be allowed access to RC, your account must be here.
# (Manager) and the like are just placeholders to organize the list.  They are not guilds.
staff = (Manager),YOURACCOUNT

# Enables/disables item dropping from various sources.
# bushitems also affects certain tiles other than bushes.
# tiledroprate affects bushitems only.
# If making a 1.41 server, set bushitems, vasesdrop, and baddyitems to false as the 1.41 client generates items.
bushitems = true
vasesdrop = true
baddyitems = false
dropitemsdead = true
tiledroprate = 50

# If enabled, it will allow negative power swords which will heal players when used.
healswords = false

# Timeout in seconds for respawning objects.
# respawntime affects tile changes.
respawntime = 15
horselifetime = 30
baddyrespawntime = 60

# Controls who can use the warpto command.
#   warptoforall - Lets everybody, including players, use warpto.
warptoforall = false

# Alters the possible status options in the player list.
playerlisticons = Online,Away,DND,Eating,Hiding,No PMs,RPing,Sparring,PKing

# Selects what is displayed in the player's profile.
# Name:=variable, where variable can also be a flag on the player's account.
profilevars = Kills:=playerkills,Deaths:=playerdeaths,Maxpower:=playerfullhearts,Rating:=playerrating,Alignment:=playerap,Gralat:=playerrupees,Swordpower:=playerswordpower,Spin Attack:=canspin

# Global guild settings.
# If globalguilds is true, global guilds are allowed.  If false, allowedglobalguilds specifies which guilds are allowed.
globalguilds = true
allowedglobalguilds = 

# AP system settings.
# If apsystem is set to true, it activates some restrictions regarding hearts for low AP players.
# For the aptime# options, the values are the time in seconds it takes to recharge one point of AP for the given range.
#   aptime4 is used for AP values between 80 and 100.  aptime 3 for 60 through 80.  And so on until 0 is between 0 and 20.
apsystem = true
aptime0 = 30
aptime1 = 90
aptime2 = 300
aptime3 = 600
aptime4 = 1200

# Defines limits to hearts, swords, and shields.
heartlimit = 3
swordlimit = 3
shieldlimit = 3

# Enables or disables the putnpc script command.
putnpcenabled = true

# If true, disable the ability.
dontchangekills = false

# Flag options.
# If dontaddserverflags is true, any server. flag changes sent by the client are rejected.
dontaddserverflags = false

# If true, idle players are removed after maxnomovement seconds.
disconnectifnotmoved = true
maxnomovement = 1200

# If false, it will prevent the player from obtaining items like bomb, bow, superbomb, etc.
defaultweapons = true

# List of bigmap.txt type maps used by the server.  It lets the server know the level layout
# so you can see players move and talk in adjacent levels.
maps = 

# List of gmaps to be used by the server.
gmaps = 

# Sets the bigmap and minimap to use.
# Setting bigmap will break gmaps.
# bigmap = maptext,mapimage,defaultx,defaulty
# minimap = maptext,mapimage,defaultx,defaulty
#   maptext is the bigmap.txt styled file with the levels.
#   mapimage is the image to use
#   defaultx and defaulty is the position where the heads of players not on the map will be drawn.
bigmap = 
minimap = 

# --------------------------------------------------------------------------------------
# --- Public Graal Reborn non-standard extensions.                                   ---
# --------------------------------------------------------------------------------------

# If true, moved push/pull blocks aren't sent to other players.
clientsidepushpull = true

# List of group instanced maps used by the server.
# Use full filenames, even for gmaps.
groupmaps = 

# The head used by RCs on the server.
staffhead = head25.png

# If cropflags is true, any client and server flags will be cropped to 223 characters.
#    The flag name and equal sign are INCLUSIVE!
#    It is recommended to not turn this off unless you know the repercussions of doing so.
cropflags = true

# --------------------------------------------------------------------------------------
# --- Private server options.  The changestaffacct right is required to alter these. ---
# --------------------------------------------------------------------------------------

# The server details seen from the server list.
name = My Server
description = My Server
url = http://www.graal.in/

# The NPC-Server nickname.
nickname = NPC-Server

# The information of the computer hosting the gserver.  This gets sent to people wanting to connect.
# If myip is set to AUTO, it uses the IP address exposed to the list server.
serverip = AUTO
serverport = 14802
serverinterface = AUTO

# The local IP address of the computer.  Helps you connect to your server if your router can't route on
# its WAN-side IP address.  Leave it as AUTO unless you know what you are doing.
# If you have a Linux server, you will want to change this, though.
localip = AUTO
upnp = true

# Specifies the location of the list server.
# DON'T CHANGE IF YOU DON'T KNOW WHAT YOU ARE DOING.
listip = listserver.graal.in
listport = 14900

# Maximum number of players allowed on the server.
maxplayers = 128

# Enables/disables staff only.  If true, only accounts in the staff option are allowed on.
onlystaff = false

# Set to true to disable the folder configuration.
nofoldersconfig = false

# Sets the server generation.
# The server version controls certain aspects of the server, like how data is sent and saved.
# This option will restrict which clients can join the server, taking precedence over allowedversions.txt.
# GS2 is only usable on newmain and modern.
#   original - 1.x
#   classic  - 2.x/3.x
#   newmain  - 4.x to 5.007
#   modern   - 5.1+
generation = classic

# Determines whether the server handles certain things like signs and links.
# Don't set to true.
serverside = false

# If true, level signs are sent to players (only takes effect if serverside is true).
clientsidesigns = false

# If true, level links are sent to players (only takes effect if serverside is true).
clientsidelinks = false

# If folders config is disabled, put additional search directories besides "world" here.
# Comma delimited array.
sharefolder = 

# Sets the language.  Currently not implemented.
language = English

# --------------------------------------------------------------------------------------
# --- Private Graal Reborn non-standard extensions.                                  ---
# --------------------------------------------------------------------------------------

# Enables triggeraction hacks.
triggerhack_weapons = false	# gr.addweapon, gr.deleteweapon
triggerhack_guilds = false	# gr.addguildmember, gr.removeguildmember, gr.removeguild, gr.setguild
triggerhack_groups = true	# gr.setgroup, gr.setlevelgroup
triggerhack_files = false	# gr.appendfile, gr.writefile
triggerhack_rc = false		# gr.rcchat
triggerhack_execscript = false	# gr.es_clear, gr.es_set, gr.es_append, gr.es
triggerhack_props = false	# gr.attr1-gr.attr30
triggerhack_levels = false	# gr.updatelevel

# Enables flag hacks.
flaghack_movement = true	# -gr_movement weapon.
flaghack_ip = false			# gr.ip

# If true, the server will process all script events, even if the NPC doesn't check for the event flag.
runallscriptevents = false

# Scripting
gs2default = false

# --------------------------------------------------------------------------------------
# --- Not implemented options.                                                       ---
# --------------------------------------------------------------------------------------

# Controls who can use the warpto command.
#   warptoforlowadmins - Allows Global Admin Level 1 to warp (not implemented).
#   warpto - Enables or disables warpto for all staff, including globals (not implemented).
#   ignorewarpto - If true, "warpto" chat text is ignored and not processed (not implemented).
# warptoforlowadmins = true
# warpto = true
# ignorewarpto = false

# Controls ghost mode (not implemented).
# ghostmodeenabled = false
# ghostmodefornotstaff = false

# Selects whether to disable adding of Bombs, Arrows, and Explosions for Trial accounts.
# limitfreeplayers2 = false

# How much AP new accounts are given (just update the defaultaccount).
# startap = 50

# Loads translations into the server for server-side translations.
# translatedlanguages = en,dn

# The default language of the server.
# defaultlanguage = en

# Controls if the NPC-Server processes scripts when there are no players.
# sleepwhennoplayers = true

# Controls if levels use the new tileset layout server-side, or a match list of levels that will.
# newtilesets = false
# newtilesetlevels = 

# The order in which weapons will be sent to the player.
# weaponorder = 

# Enables or disables the checking of account rights for NC usage.
# npcrights = true

# Percentage of data packets over an internal limit a player is allowed to send before being suspected of hacking.
# speedhacktolerance = 90

# Lets NPC-Server scripts permanently alter levels.
# savelevels = false

# Reports to RC if a level is saved.
# savelevelsmessage = true

# Lets the NPC-Server log to logs/scriptfunctionslog.txt.
# scriptlogfunctions = write player.nick,write player.guild,call sendtonc,call sendtorc

# Logs script errors to logs/scripterrors.txt instead of the RC chat.
# logscripterrorstofile = false

# If true, and savelevels is true, then updateboard2 commands are automatically saved to the level file.
# levelsautosave = true

# List of player attributes to send to all players and not just nearby players.
# The attribute numbers are the ones from #P / player.attr[].  Like 1, 2, 3, etc.
# sendtoallattr = 

# Use optimized storage for putnpc2 npcs, activated by setting this.savelocally = true in the NPC script.
# newnpcstorage = true

# If true, DB NPCs can't be deleted via 'destroy'.  Does not affect putnpc2 NPCs.
# protectdbnpcs = true

# If true, sends the results of the echo() command to all RC users and not just ones with NC rights.
# sendechotorc = false

# List of SQLite database files allowed to be used with the requestsql2() function.
# database = 

# Radius, in tiles, where player props are sent to other players.
# By default it only works on gmaps, but syncbydistanceinside can allow in non-gmap levels.
# syncdistancex = 192
# syncdistancey = 192
# syncbydistanceinside = false

# Controls if server-side gralats are logged.
# disablegralatlog = false

# Disables the player z-axis.  Locks player.z to undefined.  Z values outside of |-50, 170| is undefined.
# lockplayerz = false

# If true, hideplayer() only works while a player is under a bush.
# nohidewithoutbush = false

# Allows player triggeractions to other players.
# sendplayertriggers = true

# The type of items that are dropped by bushes or death.
# Defaults to all items.
# bushitemtypes = greenrupee,bluerupee
# deathitemtypes = greenrupee,bluerupee

# If true, each time an item is dropped the Control-NPC will receive an onItemDrop(level,x,y,itemname) action.
# itemdropevents = false

# Value from 0-100 that determines the percent change the item will drop from bushes or death.
# spawnrategreenrupee = 
# spawnratebluerupee = 
# spawnrate...

# Enables or disables puthorse.
# puthorseenabled = true

# Lets an RC without a staff guild tag send mass PMs to players who ignore mass PMs.
# rcofftagoverridesignore = false

# Enables or disables putbomb.
# Bomb types can be 'all' or a comma separated list of bomb powers (1,2,3).
# If the filter is enabled, attempts to spawn a restricted bomb will be logged to logs/bombfilter.txt.
# putbombenabled = true
# bomballowedtypes = all
# bombfilterlog = true

# Controls which showimg types are allowed.
# The type can be 'all' or ani,img,text.
# The gani/images are a comma separated list (e.g., 'idle,walk,sit' or 'block.png,block2.png')
# If the filter is enabled, attempts to show a restricted showimg will be logged to logs/showimgsfilter.txt.
# showimgstypes = all
# showimgsallowedganis = 
# showimgsallowedimages = 
# showimgsfilterlog = true
