This mod adds a duel system to minetest. It's still very much a work in progress. Currently it only allows one duel at a time between two players. You can challenge a player to a duel using the /duel chat command. You can leave a duel using the /duel_abandon chat command. Features
The mod saves the contents of the inventory and the position of the players before the duel starts and restores it at the end
Both players are granted the same items at the start of each duel. By default this is a steel sword.
The items granted to the players can be changed by setting the duel_items setting. It uses the same syntax as initial_stuff.
Bones aren't placed when a player dies in a duel
Planned Features
Add reward/punishment for losing or winning
Make it easier to set spawn positions for duels
Save player position to disk and auto-restore inventory and position after a server crash
Allow multiple arenas for duels, so that multiple duels can occur at the same time
I love this mod! I think you should add a thing so that when a player loses, they should not see the "you died" screen, but should just be only spectators until they type /leave.
I think that you should have a HUD item saying the nearest alive player and your opponent's health. Another thing: As well as teleporting players to the duel arena, set their yaw and pitch.
This mod adds a duel system to minetest. It's still very much a work in progress. Currently it only allows one duel at a time between two players. You can challenge a player to a duel using the [color=#0040FF]/duel [/color]chat command.
[b][size=150]Features[/size][/b]
[list]
[*] The mod saves the contents of the inventory and the position of the players before the duel starts and restores it at the end
[*] Both players are granted the same items at the start of each duel. By default this is a steel sword.
[*] The items granted to the players can be changed by setting the [color=#0040FF]duel_items [/color] setting. It uses the same syntax as [color=#0040FF]initial_stuff[/color].
[*] Bones aren't placed when a player dies in a duel
[/list]
[b][size=125]TODO list [/size][/b]
[list]
[*] Restore player data on shutdown and leave player
[*] Save player position to disk and auto-restore inventory and position after a server crash
[*] Add chat command for leaving a duel[/list]
[b][size=125]Planned Features[/size][/b]
[list]
[*] Add reward/punishment for losing or winning
[*] Make it easier to set spawn positions for duels
[*] Allow multiple arenas for duels, so that multiple duels can occur at the same time
[*] Allow for team-based combat
[*] Add formspecs?[/list]
[size=150]License[/size]
This mod is released under the [url=https://github.com/red-001/duel/blob/master/LICENSE]MIT License[/url]
[size=150]Download[/size]
[url=https://github.com/red-001/duel]Browse the Github repository[/url]
[url=https://github.com/red-001/duel/archive/master.zip]Download form Github[/url]
Last edited by Desour on Mon Apr 03, 2017 16:00, edited 1 time in total.
[size=120]I've tidied up the [url=https://forum.minetest.net/faq.php?mode=bbcode]BBcode[/url] of [url=https://forum.minetest.net/viewtopic.php?f=9&t=15821#p238529]your first post[/url][/size]
:)
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!