Admin panel for event triggers.

This commit is contained in:
MobiusDev
2019-02-03 09:30:28 +00:00
parent 0ce73f9027
commit 074fdca40c
34 changed files with 220 additions and 27 deletions

View File

@@ -180,6 +180,7 @@
<admin command="admin_set_displayeffect" accessLevel="100" />
<admin command="admin_set_displayeffect_menu" accessLevel="100" />
<admin command="admin_playmovie" accessLevel="100" />
<admin command="admin_event_trigger" accessLevel="100" />
<!-- ADMIN SPEED -->
<admin command="admin_gmspeed" accessLevel="100" />

View File

@@ -0,0 +1,16 @@
<html><title>Admin Event Triggers</title><body>
<center>
<table width=270><tr>
<td width=45><button value="Main" action="bypass -h admin_admin" width=45 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td width=180><center>Admin Event Triggers</center></td>
<td width=45><button value="Back" action="bypass -h admin_html server_menu.htm" width=45 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
</tr></table><br><br>
<table width=270><tr>
<td align=center width=40>ID:</td><td><edit var="qbox" width=200 height=15></td>
</tr></table><br><br>
<table width=270><tr>
<td><button value="Enable" action="bypass -h admin_event_trigger $qbox true" width=120 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="Disable" action="bypass -h admin_event_trigger $qbox false" width=120 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
</tr></table>
</center>
</body></html>

View File

@@ -39,9 +39,8 @@ Development:<br1>
</tr>
<tr>
<td><button value="Config" action="bypass -h admin_config_server" width=82 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="Triggers" action="bypass -h admin_html event_triggers.htm" width=82 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="Reload" action="bypass -h admin_html reload.htm" width=82 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td></td>
<td></td>
</tr>
</table>
<br><br>