New GUI tools!
Today I’m pleased to commit a piece of work we had under the hood for quite a while. It’s surprising how some relatively simple things go overseen for months. Anyway it’s working and published now, for you people to test it out, rejoice and why not, contribute whatever you feel we missed.
I’m talking about two graphical user interfaces, one for server settings configuration and one for game server registering against a particular Login server. In the past, you were provided with an “ugly” DOS text-based application for the latter task and for the first one, all you had was a text editor of your choice. Please read more for for some screenshots, design and usage talkabouts…
First of all, have a peek to what they look like on windows XP:

L2J GameServer registering and configuration interfaces
And Kubuntu 9.04:

L2J Gameserver configuration interface, in GNU/Linux.
L2J server settings configuration tool
Let’s talk about the way it works. When it was first written, we agreed with KenM to keep it simple and maintenance-free for the most of it. So when you run the server config tool, it goes through the “config” directory looking for *.properties files and creates one tab per file. Any comment preceding a configuration value will become a tooltip in this GUI (as you can see in the Win screenie). A basic interpretation procedure choses whether you should see a checkbox, an IP widget or a plain text input widget. And that’s about all. Whenever a new file is added, this GUI should support it. All you should need for this tool to work (out of a graphical environment, of course) is to have write permissions for the config files and have them (as well as the languages/images directories) in the correct place. Stock L2J build should grant that. There’s a simple .exe wrapper and a bash script that will server as launchers.
L2J GS registering tool
This tool requires a MySQL server running, you should know the username/password to connect with it. Servername.xml file should be in the login folder too. If for any reason there’s no graphical interface available, this tool should gracefully fall back to the old text based system. I didn’t test it, tho
Translation files
I’ve decided to distribute translation files along with the datapack, since the only one that is mandatory for these tools to work are the english ones. The datapack build file should place them accordingly, but if you do not use eclipse for datapack moving the ‘configurator’ and ‘gsregister’ folders out from ‘l2jserver/gameserver/data/lang’ to ‘l2jserver/languages’ would do the trick. You’re encouraged to contribute any fix or missing language in the forums!
What’s missing
I’d like to have optional translations for the tooltips, included in the i18n files. It would be also good to have some more deep checking rules for whatever values are defined by the user. Maybe some xml file could tell the GUI what to validate for a given configuration entry (if no validation is defined, GUI should flawlessly let values go thru), such as “XPRate should be an integer”, etc. I’m optimistic for that you guys will come up with more ideas and functionality.
Credits
All I did out of committing, was to add i18n and some minor improvements. All the glory for this work goes to KenM and the guys at the team who contributed with translations. Enjoy!



Hello DrLecter!
Its verry nice! How does it work? Its read the config lines from te properties file or use the original, fix config values. If i add custom things to the properties file, the program read it?
Thank you:
Moonspell
Muito bom, vai facilita muityo as nossas vidas e principalmente a de quem não sabe configurar um servidor.
Greets friends! I love this new Tool! Well i think everybody loves it, my personal Greets!!!
I would like to say thank you for L2j Team
You Rocks!
Hi..
Indeed this new tool saves a lot of time and energy… Thanks for the nice work you have done L2J team.
Hi
nice tool, congrats for the work hehe. I would add a link in the menu to launch loginserver.bat and gameserver.bat hehe
.
Regards.
I have some ideas i like to share. L2JConfig would be nice to have function such, backup configuration – restore configuration.
Also would be nice to have a function that compares the datapack and server revision the user have, so when backup the configuration and then update the datapack and server, then restore the configuration to see what changes made, for example if added new options or some of them needs to be review it from user. This way you can easily have the server full updated with the right config.
Thanks
@Moonspel: in theory yes, provided your custom settings are written the way our settings are. Remember also that preceding comments are important if you plan to share your work with other people.
@L2JTester: it could be, but I doubt one would start L2J from the configuration tool all the time. Nevertheless it makes me think that an L2J launcher would be the place for users to choose whether to configure settings or start applications.
@Smartmedia: Introducing revision awareness is something I would do in some “L2J Updater” tool, but yeah we should at least provide a minimum backup functionality.
How can I download?
nice job
. L2 world, fuck*** world xD
asombroso =)
Good tool, but how can we download it to test? Sorry for my English.
yes how we an download it ?
Very Nice !!
seems great
congrats boyz
now, how to try it? how to download?
The utility is a part of server archive. It is valid, convenient to change a configuration. Thanks for it!
VERY GOOOOOD !
Does this work for interlude? If yes where can i downloaded? if it’s only with the pack, then how can i change it to work for my interlude server?
Please answer. Thanks.
download pls me
link download pls me
it really ROCKS!!!!!it makes things much more easyer…
and fast in case of smthing wrong..
i didnt try if it works on the other sv`s but its hell of a deal on Gracia Final
se ve espectacular pero como le descargo…¿?
where is the gui versionof that? i can’t see it on site? hope a link can be placed for us to download if ever tnx. nice work coz the CLI version is not gud to managed ^_^
Your build just a miracle! I have no words!
PS I am Russian and I use a translator!
Looks like it will save a bunch of hassle for us new guys just trying out this server for the first time.
I just wish the post that tells us where to get it wasnt missing.
Kadar diabolyx2007 is my yahoo put in your msn
Link download plss!
Great Java server!
I do not have this tool yet, but will get it soon, does it have options to disable certain Chronicles and Events? (Hence I am trying to revive “solamente” C1 ) I am very interested and will DL and see!
It will definitely make life easier for all L2J Hosts
how can we download it???
plz asap…
i want to create l2 server….
my msn is… mariozzz_spodeoner@hotmail.com
good!very good!
Just let me know if you need help translating from spanish to english
MUYYYYYYYYY BUEN TRABAJO, los felicito Desarrolladores de L2jserver, sy muy novato en esto, asi sin embargo me parece q su trabajo es muy sencillo incluso para mi que he podido montar un servidor jeje.
GREAT JOB guys, Go on, a usefull tool,
Thank you.
Gooooooooooooood !!