The Fun Community Server Scripts After years and years of keeping my code private, it's finally here; the Fun Community server scripts! Currently still quite a mixture of old code and new code, though everything does work and the old code has mostly been updated to my current standards. I never intended to release the scripts to the public, and as a result, many things had to be adapted to that. Recently, however, I became active in the main server community, started using GitHub for once, and decided to ready my scripts for release. I have been spending time doing that, and now, here they are! Server version 2.6.2 or newer is required to run the scripts. About The Fun Community scripts, or FC scripts for short, are used on my server Fun Community (of course!), intended for small servers, and mainly known for their long list of fun commands. A main focus of the scripts is customisation and tweaking, customising settings to your liking, as well as making the most out of Pokémon Online's script functions. They have been developed by me since the adoption of V2 by Fun Community , on July 9, 2012, and are loosely based on the V1 server scripts by @Lutra. Fun Community used to run the Lutra scripts, with my own code added to it (which has existed since July 16, 2011, like my server), but when V2 was released, I decided to branch off and started developing the Fun Community scripts. Some functionality, such as a few methods, some general implementation and tours, is code written by Lutra from their V1 server scripts, though modified to work with these scripts. How to use Click the download link below to download the zip file, then extract the content of the fc-scripts-master folder from that zip file into your server folder. The scripts will initialise the data that they use when you open your server, for which they will create a folder called data, and with that, immediately work on server startup. Be careful if you touch that folder; you might break the scripts! If you by any chance already have a folder called data in your server folder, make sure you either rename or delete it before running your server with the scripts for the first time, or else they won't initialise and, therefore, won't work. Also, the scripts will move the bansites.txt and proxy_list.txt files (copied from the official server scripts) to that folder on initialisation, so don't get astonished by their sudden disappearance. By default, the official channels are not registered. You should run the /registerall command (assuming you are Owner) to register them and give them their default settings. For this reason you should, if your server is new, decide your main channel name before running the command; since, if you want to change your main channel name, you will have to register it again. The scripts offer country and time zone retrieval functionality, for which it uses the IPinfoDB API service. If you want this functionality, you will need to register at IPinfoDB and get a free API key. Add it with the /setapi <API key> command, assuming <API key> is a valid API key. If you want to remove the functionality again, use the /removeapi command. This will also erase all country and time zone data. There is also Google API functionality, which is used for YouTube link information and the /listen command. Similarly to the IPinfoDB API system, you can use /setgoogleapi <API key> to enable it and /removegoogleapi to disable it again. Plugins There are optional script files in the zip as well; those are within a folder called plugins; the main files are in the folder called scripts. If you do not want the plugins, simply do not extract them from the zip. The plugins consist of fun commands and a few small game channel scripts, including a very unfinished (and therefore not yet playable) own Safari. Not a modification of the official side channel, but written from scratch. =============================================================================== All of the above is mostly a copy of the README file on the GitHub repository, which is linked to below. If you have any questions about the scripts, want to report a bug or suggest a new feature, do not hesitate to post on this thread! Bugs are probably the most likely to occur in battle-related code, since my server is basically never used for battling, let alone tournaments. I should check this thread every day so you can normally expect a quick reply. I may also write a wiki on GitHub in the future to explain as much as possible about my scripts. They have many features that people may be unfamiliar with, since I like writing unique things or innovate and add cool new stuff; my scripts are completely different from the official scripts, too. If you want to make modifications of my scripts, feel free to do so, but do not claim the original code as yours. Credit to: @Lutra (main inspiration and base behind the scripts, tournament code and several utility methods) Pokémon Online server scripts (pokemon database methods, idea of safari) And anyone who has given me ideas for these scripts! Credits can be viewed in the scripts by running the /scriptinfo command. =============================================================================== Links: Download GitHub repository