Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-07-2011, 06:55 PM
iBeatz iBeatz is offline
Kavan
iBeatz's Avatar
Join Date: Dec 2010
Location: Northern Ireland, UK
Posts: 154
iBeatz will become famous soon enough
Send a message via Yahoo to iBeatz
Cool Staff Console

Okay, so I was bored and decided to put this little thing together.
It is a staff console, obviously intended for those who run a server and are entrusted with NC rights.
I'll explain each of the features as they appear in the GUI.

The first feature is a player list, which offers basic operations like warping, summoning and viewing the player profile. You can also warp a selected player to a level from the level list, which is coming next.



The second feature is a level list, which basically shows all the levels on the server and allows you to warp to them, or warp another player to one of them.



The third feature is a weapons list, and lists all the weapons on the server. You can equip and unequip the weapons, give them to other players and take them from other players, which I feel is far handier than opening their attributes and removing it.
Also, the red and green colors at the side of the weapon names indicate whether you have that weapon in your attributes or not. (Green means that the weapon is in your attributes, red means it isn't.)



The last tab simply lists some server statistics, such as level and weapons count etc.



The status updater box tells you what action you have performed after you perform it.
Also, for ease of finding something in a long list, there is also a search box at the bottom right.
And you can refresh a list too.

To open the Staff Console, press the ` button. For those of you who can't find it, it's the button above the tab button.

If you're going to use this, make sure you change the path strings for the three constants at the start of the script to make sure that the paths match those on your server.
Enjoy!
Attached Files
File Type: txt Staff Console.txt (21.1 KB, 481 views)
__________________

Intelligence without ambition is like a bird without wings.


Last edited by iBeatz; 06-07-2011 at 07:08 PM..
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:13 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.