-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add admin panel #1432
Add admin panel #1432
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had a play around, looks good. Just some comments to address.
The map manager is already quite useful to tweak game speed/map reveals/enemy settings while debugging. So we can also think to implement more debugging features, or even adding a separate page (only visible to admin panel in debug mode) with shortcuts of debug tools/scripts that we usually run. |
Testing again, I notice that when you ban a player, it says that the player was banned by script. |
Actually this might jus be coming from |
Yeah I thought it was strange too when testing. I looked at Line 436 in d109a66
<server> as actor. I actually never banned myself a player in game, only through our interface, so I dont know if there's another route that shows the actor of the ban? Actor of the ban should be displayed if done by command/buttons (probably need to add it as 3rd param in the Report module and if not available, default to <script> just like other commands)
|
In game we normally ban using the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these are the last few comments.
Changes
{ actor = LuaPlayer }
if neededutils.gui
andluackeckr
Main features
Added 3 pages in admin panel: Player manager, Map manager, Lua console. Scenarios can also add more pages through the AdminPanel API, planning on adding the history of player actions to help admins moderate maps.
Player manager
Map manager
Lua console
Future development: