Add Teleport/Effects options to player list
This commit is contained in:
@ -75,6 +75,45 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="teleportModal" class="modal hidden">
|
||||
<div class="modal-content">
|
||||
<button class="modal-close">×</button>
|
||||
<h2 class="text-xl font-semibold mb-4">Teleport <span id="teleportPlayerName"></span></h2>
|
||||
<form id="teleportForm">
|
||||
<div class="mb-4">
|
||||
<label for="teleportDestination" class="block text-sm font-medium mb-1">Select Destination Player</label>
|
||||
<select id="teleportDestination" class="bg-gray-700 px-4 py-2 rounded text-white w-full">
|
||||
<!-- Options populated dynamically -->
|
||||
</select>
|
||||
</div>
|
||||
<button type="submit" class="bg-blue-600 hover:bg-blue-700 px-4 py-2 rounded w-full">Teleport</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="effectModal" class="modal hidden">
|
||||
<div class="modal-content">
|
||||
<button class="modal-close">×</button>
|
||||
<h2 class="text-xl font-semibold mb-4">Apply Effect to <span id="effectPlayerName"></span></h2>
|
||||
<form id="effectForm">
|
||||
<div class="mb-4">
|
||||
<label for="effectSelect" class="block text-sm font-medium mb-1">Select Effect</label>
|
||||
<select id="effectSelect" class="bg-gray-700 px-4 py-2 rounded text-white w-full">
|
||||
<option value="speed:30:1">Speed (30s, Level 1)</option>
|
||||
<option value="strength:30:1">Strength (30s, Level 1)</option>
|
||||
<option value="regeneration:30:1">Regeneration (30s, Level 1)</option>
|
||||
<option value="jump_boost:30:1">Jump Boost (30s, Level 1)</option>
|
||||
<option value="invisibility:30:1">Invisibility (30s, Level 1)</option>
|
||||
<option value="night_vision:60:1">Night Vision (60s, Level 1)</option>
|
||||
<option value="fire_resistance:60:1">Fire Resistance (60s, Level 1)</option>
|
||||
<option value="water_breathing:60:1">Water Breathing (60s, Level 1)</option>
|
||||
</select>
|
||||
</div>
|
||||
<button type="submit" class="bg-blue-600 hover:bg-blue-700 px-4 py-2 rounded w-full">Apply Effect</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="editPropertiesModal" class="modal hidden">
|
||||
<div class="modal-content">
|
||||
<button class="modal-close">×</button>
|
||||
|
Reference in New Issue
Block a user