Community Server

From Xeriar
Jump to: navigation, search

This is a version of the file for OpenRPG that enables communities to monitor their activity, mainly for things such as persistent games like NeoDBZ (which the older version was originally written for). The new version was written for Solar Storms, and is significantly more stable, and has a few other nice features.

Download the modified file here



Updates to version F

  • I forgetted : / Works specifically with OpenRPG 1.7.5


  1. It logs chat and tree activity, including whispers.
  2. It has a server-sided dieroller, which has some protections against rollspamming.
  3. It has some minor protections against spamming the chat or forcing scrolling.
  4. It has further anti-cheat and anti-annoyance functionality.
  5. It provides a Roster file that can be used to track players
  6. It has a secondary Information file for general GM usage
  7. It provides a means by which restart times can be set, so players can track how long it's beein since the restart
  8. It has an add-approved GM function.
    1. It restricts map-use to approved GMs only.
    2. Approved GMs can make rooms with passwords even when passwords are disallowed.
    3. Approved GMs can enter passworded rooms without entering the password.
    4. Only approved GMs may boot from the server, or use the server password.
    5. Approved GMs have boot protection, and do not need to enter a password to boot from room.
    6. Approved GMs are automatically GMed upon entering a room.

Banned players may watch, but they are prevented from speaking, being automatically booted from the room when they try. This includes pseudocreations like making a room, sending a node, or whispering.


I would appreciate it, if you make use of this server, to point other people here so that they may find it, and are aware that they are on a community server and thus are having their activities recorded. This is currently done by default inside the new server code, all I ask is that you don't remove it. A link to this website at the bottom of your lobby message would be nice, of course.

Installation Instructions

You will need to have OpenRPG 1.7.5 installed for this to work, since that is the server it utilizes. A clean installation is best.

Download the file above. After downloading the file, you will need to install it. in the orpg/networking subdirectory of your OpenRPG installation. Typically something like C:\Program Files\OpenRPG\orpg\networking in Windows. You will be asked if you want to overwrite - do so. While this will work, it is not yet fully set up. A few steps need to be taken.

  1. To make the logs work, you will need to create some empty directories under your base OpenRPG directory. These are
    1. /chatlogs - This logs everything a user does by name and ip address.
    2. /roomlogs - This logs everything done in a room, by room name and hour.
    3. /treelogs - This logs all node transfers. This was installed to track PHB-spamming, for the most part.
  2. Finally, you will want to edit your /myfiles/server_ini.xml file appropriately.
    1. The Community Server no longer needs nor recognizes the <cheat ... > line. You can delete it.
    2. In its place, you will want to add the ip addresses of your GMs and those you have permanently banned. Here is the text of my server_ini file for the Solar Storms server:
<server lobbyname="Lobby" boot="stickonehere" register="yes" name="testing">
 <service port="6774" address="hostname/address" />
 <map file="Lobby_map.xml" />
 <message file="LobbyMessage.html" />
 <validate_protocol value="true" />
 <roller name='std' />
 <autokick silent="no" delay="10080" />
 <version min="1.6.3" />
 <reset year='2009' month='5' day='1' hour='0' />
 <maps allow='no' />
 <info1 name='Roster' file='roster' pass='add_roster' />
 <info2 name='GM Info' file='gminfo' pass='add_info' />
   <passwords allow="no"/>
   <map file=""/>
   <message file="LobbyMessage.html"/>
 <room name="Example Persistant #1" password="password" boot="password">
   <map file="Lobby_map.xml" />
   <message file="LobbyMessage.html" />
 <room name="Example Persistant #2" password="" boot="password">
   <map file="Lobby_map.xml" />
   <message file="LobbyMessage.html" />
 <gms gm='' />

You'll notice a few additional tags there.

<maps allow='no' />

Is the default. Change it to 'yes', to allow non-GMs to make use of maps on your server.

In order to make proper use of the get_days function, you need to set the reset tag.

<reset year='2009' month='5' day='1' hour='0' />

Which ought to be fairly explanatory. Hour is in 24-hour format (0-23), and time is UTC (sometimes incorrectly called GMT).

The Lobby name one lets you change the name of the lobby. Mostly for amusement.

<lobby name='Insanity' />

Name of the dieroller you are using for your server-sided roller, from your own standard roller library. std, wod, etc.

<roller name='std' />

The next two set the name and password for your information files. Typically, you will have a player roster and a gm information file, so these are the defaults. -do- change the add_roster and add_info commands, you only want people you trust using them, naturally.

<info1 name='Roster' file='roster' pass='add_roster' />
<info2 name='GM Info' file='gminfo' pass='add_info' />

Bans and GMs define ip addresses which you want gmed.

<gms gm='' />

Simply add new ip addresses inside the single quotes, for example:

<gms gm='' />

Adds the latter to the gm list.

Usage Instructions

Server-Sided Dieroller

The server-sided dieroller is used much like the regular OpenRPG dieroller, with the main limitation being that powers (the ** operator) are disallowed, for obvious reasons. Only the first such roll on a line is parsed, and it only allows two dieroll strings per { } parsing.

So, where in OpenRPG you would normally roll:


In the Community Server, you type:


You will see your line returned to you. Other players will only see that returned line, not your initial one.

The Roster

add_roster and add_info (or whatever you've changed them to) will add a line of text to one of your information files. Format it however you like. Typically you'll have some sequence for adding players to a roster, and just a general GM notes file.

  • get_roster - when used by approved gms - gets the roster so far added, sending it as a node.
  • get_info - when used by approved gms - gets the information file so far added, sending it as a node.

Approved GM functions

GMs should be given the server (lobby) password. They will want to type

/admin set <password>

And will then be using

/admin list


/admin help

to get IPs and the other functions in order to ban players, add temporary gms, broadcast messages, and so on.

add_master (ip address) will add said IP address to the GM list, allowing them to use such functions, for example


adds the person at to the GM list.

ban_player (ip address) works in much the same way.

Other Functions

get_days will allow your players to find out how many days have passed since your reset began, based on the settings defined in your server_ini.xml file. It is rather handy.


There is only one significant bug in this program, to my knowledge. Because the 1.6.3 server is multithreaded, when a player disconnects, all of the chat processing going on will cause their DC message to be finally sent -after- they've left the server. I've tried several mechanisms for avoiding this, but they tend to cause worse problems than the solution.


Personal tools