Media gallery
Buy product
##If you find this script useful, please leave a rating. It would help me out a lot. Thank you! :)
Description
Mercury is a system that allows your users to submit messages to the server that connected administrators can see and manage.
This simple to use VGUI rich application will enable you to allow your users to submit feedback/messages/reports/really whatever you want to use it for. It's very simple to use and install!
Features
- Messages are organized in an easy to use VGUI (see below).
- Only administrators can see the message database.
- Administrators can 'resolve' messages which allows them to add their own notes that other admins can see.
- Resolved messages can be easily filtered out of the the message database.
- Whenever an admin joins the server, Mercury will inform them of any new messages since they last played.
- Connected admins will be instantly informed when a player submits a new message.
- Messages can be deleted by admins. This can be restricted if you use one of the admin mods that I have support for. (See below)
- Messages are all saved to the server's SQLite database for lightning fast data retrieval!
- Some basic support for admin mod permissions (See Below)
ULX/Evolve/Maestro Compatibility
If you are using ULX/Evolve/Maestro, this addon will automatically detect that and adjust its permissions accordingly. By default admins and superadmins have access to use this addon. If you want to assign other usergroups access to this addon, just give them the following access flags.
mercury_manage - This is the main permission. This is what allows players to see and resolve messages posted by other players.
mercury_delete - This allows players to delete individual messages permanently. Player must also have access to mercury_manage.
I have all of these access flags registered in XGUI so you can add the permissions right from the XGUI menu. They are under the 'Mercury' category.
If you would rather do it manually, you can use:
ulx groupallow <group> <access flag> (example: ulx groupallow "member" "mercury_manage")
ulx userallow <group> <access flag> (example: ulx userallow "Mr.President" "mercury_delete")
If you are running Maestro you can use the following command to add the above permission flags to your groups. ms rankflag admin mercury_manage true ms rankflag admin mercury_delete true
Change out admin with the group name you are assigning the permissions to.
If you are using Evolve Admin Mod you will need to give the Privledges to whatever group or player you want to have access to AWarn functionality.
I am not familiar enough with Evolve to tell you how to give privledges using Evolve. If you need help doing that, contact the developers of Evolve or if someone would like to tell me, I will update this post.
Chat Commands
- !message - This opens the main menu (if you have permission to manage messages) or the new message window if you don't
- !msg - This is an alias of the above command
Console Commands (All accessible from within the AWarn VGUI Menu)
- There are currently NO console commands for this addon!
#Installation
- Simply unzip and place the mercury folder into your addons folder.
- Start your server and type !msg to see the menu.
#MySQL Installation (Information also in a README file inside the Addon zip folder)
- In your MySQL server, create a new database for Mercury. In my example, I use mercury_test (You can use an existing database if you wish)
- Make sure you have an SQL user that has read and write access to that database.
- Open mercury/lua/autorun/server/sv_hg.lua
- Edit the config at the top of the file with the information for your MySQL server.
- Restart your server and if configured properly, Mercury will create 2 tables inside the database you selected. ( hg_players and hg_info )
#Contact/Support
- You can contact me by e-mail at mrp.g4p@gmail.com
- You can also add me on Steam. www.steamcommunity.com/id/g4pmrp
- Notice: Email may be the best source as I'm not always at my computer.
#Thank You!
- Thank you so much for your support!
- If there is anything you would like to see added to this, let me know.
Product reviews
5.00 average based on 4 reviews
Buy product
