RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.Config Class Reference
Collaboration diagram for com.osroyale.Config:

Static Public Attributes

static final String LATEST_ANNOUNCEMENT_THREAD = "https://tarnishps.com/"
static final String LATEST_UPDATE_THREAD = "https://tarnishps.com/"
static final String[] WELCOME_MARQUEE
static final String[] WELCOME_DIALOGUE
static final String[] WELCOME_ANNOUNCEMENT
static final int CLIENT_PACKET_THRESHOLD
static final int SERVER_PACKET_THRESHOLD
static boolean DISPLAY_PACKETS = Config.SERVER_DEBUG
static final int CONNECTION_LIMIT
static final int IDLE_TIMEOUT
static final ResourceLeakDetector.Level RESOURCE_LEAK_DETECTION
static final ObjectSet< String > IGNORED_EXCEPTIONS
static final AttributeKey< SessionSESSION_KEY = AttributeKey.valueOf("session.key")
static final BigInteger RSA_MODULUS
static final BigInteger RSA_EXPONENT
static final boolean PARALLEL_GAME_ENGINE
static final String SERVER_NAME
static final boolean FORUM_INTEGRATION
static final String FORUM_DB_URL
static final String FORUM_DB_USER
static final String FORUM_DB_PASS
static final String DISCORD_TOKEN
static boolean SERVER_DEBUG
static final boolean SERVER_CYCLE_DEBUG
static final int SERVER_PORT
static final int NPC_WALKING_RADIUS
static final int LOGIN_THESHOLD
static final int LOGOUT_THESHOLD
static final int MAX_PLAYERS
static final int MAX_NPCS
static final int MAX_BOTS
static final int CURRENCY = 995
static final int NPC_DEFINITION_LIMIT
static final int ITEM_DEFINITION_LIMIT
static final int NPC_BITS
static final int SKULL_TIME
static final int ATTACK_TAB = 0
static final Position DEFAULT_POSITION = new Position(3087, 3497, 0)
static final Position SUPER_DONATOR_ZONE = new Position(2426, 10419, 0)
static final Position STAFF_ZONE = new Position(2602, 3874, 0)
static final Position JAIL_ZONE = new Position(2713, 2564, 0)
static final Appearance DEFAULT_APPEARANCE
static final String[] BAD_STRINGS
static final String[] MESSAGES
static final int[][] SIDEBAR_INTERFACE
static final double COMBAT_MODIFICATION
static final double AGILITY_MODIFICATION
static final double COOKING_MODIFICATION
static final double CRAFTING_MODIFICATION
static final double FIREMAKING_MODIFICATION
static final double FLETCHING_MODIFICATION
static final double HERBLORE_MODIFICATION
static final double HUNTER_MODIFICATION
static final double MAGIC_MODIFICATION
static final double MINING_MODIFICATION
static final double PRAYER_MODIFICATION
static final double RUNECRAFTING_MODIFICATION
static final double SLAYER_MODIFICATION
static final double WOODCUTTING_MODIFICATION
static final double THIEVING_MODIFICATION
static final double SMITHING_MODIFICATION
static final double FISHING_MODIFICATION
static final double FARMING_MODIFICATION
static final int[] STARTER_BANK_AMOUNT = { 2, 8, 21, 11, 48, 9, 0, 0, 0, 0, }
static final int[] LEET_BANK_AMOUNTS = {7, 46, 19, 42, 41, 15, 21, 4, 0, 0,}

Detailed Description

/**

Definition at line 61 of file Config.java.

Member Data Documentation

◆ AGILITY_MODIFICATION

final double com.osroyale.Config.AGILITY_MODIFICATION
static

The experience modification for agility.

Definition at line 289 of file Config.java.

◆ ATTACK_TAB

final int com.osroyale.Config.ATTACK_TAB = 0
static

All the tab identifications

Definition at line 232 of file Config.java.

◆ BAD_STRINGS

final String [] com.osroyale.Config.BAD_STRINGS
static
Initial value:
= {
"fag", "f4g", "faggot", "nigger", "fuck", "bitch", "whore", "slut",
"gay", "lesbian", "scape", ".net", ".org", "vagina", "dick",
"cock", "penis", "hoe", "soulsplit", "ikov", "retard", "cunt",
"g ay", "ga y", "g a y", "h o e",
}

Strings that are classified as bad.

Definition at line 254 of file Config.java.

◆ CLIENT_PACKET_THRESHOLD

final int com.osroyale.Config.CLIENT_PACKET_THRESHOLD
static

The amount of client (incoming) packets that can be handled by the server each tick.

Definition at line 101 of file Config.java.

◆ COMBAT_MODIFICATION

final double com.osroyale.Config.COMBAT_MODIFICATION
static

The experience modification for combat.

Definition at line 286 of file Config.java.

◆ CONNECTION_LIMIT

final int com.osroyale.Config.CONNECTION_LIMIT
static

The maximum amount of connections that can be active at a time, or in other words how many clients can be logged in at once per connection.

Definition at line 114 of file Config.java.

◆ COOKING_MODIFICATION

final double com.osroyale.Config.COOKING_MODIFICATION
static

The experience modification for cooking.

Definition at line 292 of file Config.java.

◆ CRAFTING_MODIFICATION

final double com.osroyale.Config.CRAFTING_MODIFICATION
static

The experience modification for crafting.

Definition at line 295 of file Config.java.

◆ CURRENCY

final int com.osroyale.Config.CURRENCY = 995
static

The currency identification of the server.

Definition at line 213 of file Config.java.

◆ DEFAULT_APPEARANCE

final Appearance com.osroyale.Config.DEFAULT_APPEARANCE
static

◆ DEFAULT_POSITION

final Position com.osroyale.Config.DEFAULT_POSITION = new Position(3087, 3497, 0)
static

The default, i.e. onSpawn, location.

Definition at line 235 of file Config.java.

◆ DISCORD_TOKEN

final String com.osroyale.Config.DISCORD_TOKEN
static

The OS Royale community discord token.

Definition at line 183 of file Config.java.

◆ DISPLAY_PACKETS

boolean com.osroyale.Config.DISPLAY_PACKETS = Config.SERVER_DEBUG
static

Displays packet information in the output stream.

Definition at line 108 of file Config.java.

◆ FARMING_MODIFICATION

final double com.osroyale.Config.FARMING_MODIFICATION
static

The experience modification for farming.

Definition at line 337 of file Config.java.

◆ FIREMAKING_MODIFICATION

final double com.osroyale.Config.FIREMAKING_MODIFICATION
static

The experience modification for firemaking.

Definition at line 298 of file Config.java.

◆ FISHING_MODIFICATION

final double com.osroyale.Config.FISHING_MODIFICATION
static

The experience modification for fishing.

Definition at line 334 of file Config.java.

◆ FLETCHING_MODIFICATION

final double com.osroyale.Config.FLETCHING_MODIFICATION
static

The experience modification for fletching.

Definition at line 301 of file Config.java.

◆ FORUM_DB_PASS

final String com.osroyale.Config.FORUM_DB_PASS
static

This is used for mySQL to authenticate username and passwords from the forum.

Definition at line 167 of file Config.java.

◆ FORUM_DB_URL

final String com.osroyale.Config.FORUM_DB_URL
static

This is used for mySQL to authenticate username and passwords from the forum.

Definition at line 161 of file Config.java.

◆ FORUM_DB_USER

final String com.osroyale.Config.FORUM_DB_USER
static

This is used for mySQL to authenticate username and passwords from the forum.

Definition at line 164 of file Config.java.

◆ FORUM_INTEGRATION

final boolean com.osroyale.Config.FORUM_INTEGRATION
static

If forum integration is true, users can only login if they enter the same username and password that's on the forums also mongo must be running when this is true. Since all the players will be stored in the mongo database.

Definition at line 158 of file Config.java.

◆ HERBLORE_MODIFICATION

final double com.osroyale.Config.HERBLORE_MODIFICATION
static

The experience modification for herblore.

Definition at line 304 of file Config.java.

◆ HUNTER_MODIFICATION

final double com.osroyale.Config.HUNTER_MODIFICATION
static

The experience modification for hunter.

Definition at line 307 of file Config.java.

◆ IDLE_TIMEOUT

final int com.osroyale.Config.IDLE_TIMEOUT
static

The number of seconds before a connection becomes idle.

Definition at line 117 of file Config.java.

◆ IGNORED_EXCEPTIONS

final ObjectSet<String> com.osroyale.Config.IGNORED_EXCEPTIONS
static
Initial value:
= new ObjectOpenHashSet<>(
Arrays.asList("An existing connection was forcibly closed by the remote host",
"An established connection was aborted by the software in your host machine"))

The list of exceptions that are ignored and discarded by the

Definition at line 126 of file Config.java.

◆ ITEM_DEFINITION_LIMIT

final int com.osroyale.Config.ITEM_DEFINITION_LIMIT
static

The limit of the item identification.

Definition at line 219 of file Config.java.

◆ JAIL_ZONE

final Position com.osroyale.Config.JAIL_ZONE = new Position(2713, 2564, 0)
static

The Jail zone.

Definition at line 245 of file Config.java.

◆ LATEST_ANNOUNCEMENT_THREAD

final String com.osroyale.Config.LATEST_ANNOUNCEMENT_THREAD = "https://tarnishps.com/"
static

The latest announcement thread link.

Definition at line 64 of file Config.java.

◆ LATEST_UPDATE_THREAD

final String com.osroyale.Config.LATEST_UPDATE_THREAD = "https://tarnishps.com/"
static

The latest update thread link.

Definition at line 67 of file Config.java.

◆ LEET_BANK_AMOUNTS

final int [] com.osroyale.Config.LEET_BANK_AMOUNTS = {7, 46, 19, 42, 41, 15, 21, 4, 0, 0,}
static

TEMP VARS - WILL BE DELETED AFTER BETA IS FINISHED

Definition at line 462 of file Config.java.

◆ LOGIN_THESHOLD

final int com.osroyale.Config.LOGIN_THESHOLD
static

The amount of players that can be logged in, in a single cycle

Definition at line 198 of file Config.java.

◆ LOGOUT_THESHOLD

final int com.osroyale.Config.LOGOUT_THESHOLD
static

The amount of players that can logout in a single cycle

Definition at line 201 of file Config.java.

◆ MAGIC_MODIFICATION

final double com.osroyale.Config.MAGIC_MODIFICATION
static

The experience modification for magic.

Definition at line 310 of file Config.java.

◆ MAX_BOTS

final int com.osroyale.Config.MAX_BOTS
static

The amount of bots that will spawn into the game world.

Definition at line 210 of file Config.java.

◆ MAX_NPCS

final int com.osroyale.Config.MAX_NPCS
static

The maximum amount of npcs that can be held within the game world.

Definition at line 207 of file Config.java.

◆ MAX_PLAYERS

final int com.osroyale.Config.MAX_PLAYERS
static

The maximum amount of players that can be held within the game world.

Definition at line 204 of file Config.java.

◆ MESSAGES

final String [] com.osroyale.Config.MESSAGES
static
Initial value:
= {
"Our website is located at: http://www.tarnishps.com/",
"Feel free to join the (help) clan channel",
"Add more security to your account by setting a bank pin.",
"Have any ideas on how we could improve our gameplay? Post on forums!",
"Voting daily can be very beneficial & it supports the server!",
"Found a bug? Let a moderator know or post it on the forums!",
"You can do ::commands for a list of commands!",
}

Messages that are sent periodically to all players.

Definition at line 262 of file Config.java.

◆ MINING_MODIFICATION

final double com.osroyale.Config.MINING_MODIFICATION
static

The experience modification for mining.

Definition at line 313 of file Config.java.

◆ NPC_BITS

final int com.osroyale.Config.NPC_BITS
static

The npc bits for the server which can execute 6755 npcs.

Definition at line 222 of file Config.java.

◆ NPC_DEFINITION_LIMIT

final int com.osroyale.Config.NPC_DEFINITION_LIMIT
static

The limit of the npc identification.

Definition at line 216 of file Config.java.

◆ NPC_WALKING_RADIUS

final int com.osroyale.Config.NPC_WALKING_RADIUS
static

The walking radius for Npc.

Definition at line 195 of file Config.java.

◆ PARALLEL_GAME_ENGINE

final boolean com.osroyale.Config.PARALLEL_GAME_ENGINE
static

This will use the parallel game game.

Definition at line 149 of file Config.java.

◆ PRAYER_MODIFICATION

final double com.osroyale.Config.PRAYER_MODIFICATION
static

The experience modification for prayer.

Definition at line 316 of file Config.java.

◆ RESOURCE_LEAK_DETECTION

final ResourceLeakDetector.Level com.osroyale.Config.RESOURCE_LEAK_DETECTION
static

The resource leak detection level, should be PARANOID in a development environment and DISABLED in a production environment.

Definition at line 123 of file Config.java.

◆ RSA_EXPONENT

final BigInteger com.osroyale.Config.RSA_EXPONENT
static

The RSA exponent.

Definition at line 139 of file Config.java.

◆ RSA_MODULUS

final BigInteger com.osroyale.Config.RSA_MODULUS
static

The RSA modulus.

Definition at line 136 of file Config.java.

◆ RUNECRAFTING_MODIFICATION

final double com.osroyale.Config.RUNECRAFTING_MODIFICATION
static

The experience modification for runecrafting.

Definition at line 319 of file Config.java.

◆ SERVER_CYCLE_DEBUG

final boolean com.osroyale.Config.SERVER_CYCLE_DEBUG
static

Displays the time in milliseconds each tick the game takes to run through a game cycle.

Definition at line 189 of file Config.java.

◆ SERVER_DEBUG

boolean com.osroyale.Config.SERVER_DEBUG
static

The development state flag. (Always make sure you run the official server with this disabled!)

Definition at line 186 of file Config.java.

◆ SERVER_NAME

final String com.osroyale.Config.SERVER_NAME
static

The name of the server.

Definition at line 152 of file Config.java.

◆ SERVER_PACKET_THRESHOLD

final int com.osroyale.Config.SERVER_PACKET_THRESHOLD
static

The amount of server (outgoing) packets that can be written by the server each tick.

Definition at line 105 of file Config.java.

◆ SERVER_PORT

final int com.osroyale.Config.SERVER_PORT
static

The server port.

Definition at line 192 of file Config.java.

◆ SESSION_KEY

final AttributeKey<Session> com.osroyale.Config.SESSION_KEY = AttributeKey.valueOf("session.key")
static

The session key.

Definition at line 131 of file Config.java.

◆ SIDEBAR_INTERFACE

final int [][] com.osroyale.Config.SIDEBAR_INTERFACE
static
Initial value:
= {
{Config.ATTACK_TAB, 5855}, {Config.SKILL_TAB, 3917}, {Config.INVENTORY_TAB, 3213}, {Config.QUEST_TAB, 29400},
{Config.EQUIPMENT_TAB, 1644}, {Config.PRAYER_TAB, 5608}, {Config.CLAN_TAB, 33500}, {Config.FRIENDS_TAB, 5065},
{Config.IGNORE_TAB, 5715}, {Config.WRENCH_TAB, 50020}, {Config.EMOTE_TAB, 41000}, {Config.MUSIC_TAB, -1},
{Config.ACTIVITY_TAB, -1}, {Config.LOGOUT_TAB, 2449}
}
static final int ATTACK_TAB
Definition Config.java:232

Holds the array of all the side-bar identification and their corresponding itemcontainer identification.

Definition at line 276 of file Config.java.

◆ SKULL_TIME

final int com.osroyale.Config.SKULL_TIME
static

The time in ticks a player remains skulled for.

720 ticks ~20 minutes

Definition at line 229 of file Config.java.

◆ SLAYER_MODIFICATION

final double com.osroyale.Config.SLAYER_MODIFICATION
static

The experience modification for Slayer.

Definition at line 322 of file Config.java.

◆ SMITHING_MODIFICATION

final double com.osroyale.Config.SMITHING_MODIFICATION
static

The experience modification for smithing.

Definition at line 331 of file Config.java.

◆ STAFF_ZONE

final Position com.osroyale.Config.STAFF_ZONE = new Position(2602, 3874, 0)
static

The staff zone.

Definition at line 242 of file Config.java.

◆ STARTER_BANK_AMOUNT

final int [] com.osroyale.Config.STARTER_BANK_AMOUNT = { 2, 8, 21, 11, 48, 9, 0, 0, 0, 0, }
static

Starter bank

Definition at line 437 of file Config.java.

◆ SUPER_DONATOR_ZONE

final Position com.osroyale.Config.SUPER_DONATOR_ZONE = new Position(2426, 10419, 0)
static

The donator zone.

Definition at line 238 of file Config.java.

◆ THIEVING_MODIFICATION

final double com.osroyale.Config.THIEVING_MODIFICATION
static

The experience modification for thieving.

Definition at line 328 of file Config.java.

◆ WELCOME_ANNOUNCEMENT

final String [] com.osroyale.Config.WELCOME_ANNOUNCEMENT
static
Initial value:
= {
"Welcome!",
"Tarnish is currently in it's",
"early stages. We are only",
"100 players until official",
"launch!"
}

The welcome announcement.

Definition at line 84 of file Config.java.

◆ WELCOME_DIALOGUE

final String [] com.osroyale.Config.WELCOME_DIALOGUE
static
Initial value:
= {
"Update threads are released every tuesday",
"The owner is Apollo",
"The community manager is Prodigy"
}

The welcome dialogue.

Definition at line 77 of file Config.java.

◆ WELCOME_MARQUEE

final String [] com.osroyale.Config.WELCOME_MARQUEE
static
Initial value:
= {
"There are currently #players players online!",
"Make sure to vote daily for great rewards!",
"Donating really helps us with keeping the server alive"
}

The welcome marquee.

Definition at line 70 of file Config.java.

◆ WOODCUTTING_MODIFICATION

final double com.osroyale.Config.WOODCUTTING_MODIFICATION
static

The experience modification for woodcutting.

Definition at line 325 of file Config.java.


The documentation for this class was generated from the following file: