after finishing a duel and requeing it doesnt instant start a duel like before it requires us to send the /duel again i have it set to 10 currently
Duel bugged
heya. i tested with a fresh config and it works.
both players enable dueling with /duel allow
both players type /duel autoready to enable auto
kill other player
next duel immediately starts. there is no need to /duel again with autoready enabled on both players.
reminds me of how much fun i had with this when i originally wrote it
got it thanks ill check it over today and report back
ive never done the /duel autoready
usually when both players was dueling and it asked for the reque and both clicked it. it would put them back in
but in this case it wasnt happening or kicking them back home if it does happen again
ill let you know
thanks!
Merged post
again thanks! just tested it and /duel autoready worked!
But without auto ready when you hit requeqe it still brings up the menu on the right instead of instant redueling
and requires /duel ready
was a little bit easier before just hitting the button instead of /duel ready
just thinking about the average IQ player that doesnt read the chat when the plugin in does it
just throwing that out there
maybe add a "all autoready for duels" in the config ?
gonna tell everyone to enable autoduel for now for easy access
again thanks and still a 10/10 plugin
I can't reproduce any of those issues. I am using the default config. show me your config.
behavior when i tested:
- players are sent home when the duel moves to a new location or if when click respawn. otherwise settings in the config can do this but not by default.
- clicking requeue does not bring up a menu on the right. it adds the player to /queue, and when there are two players it automaticallys start the duel. it's no different than typing /queue. this is how it should function
- autoready is what auto queues and auto accepts the next duel when the current duel ends. if either player has this disabled then they must click Requeue instead. this is how it should function
{
"Advanced Options": {
"Let Players Die Normally": false,
"Require 1v1 Maximum Spawn Points To Be Less Than Or Equal To X": 200,
"Require 1v1 Minimum Spawn Points To Be Equal Or Greater Than X": 2,
"Require TDM Minimum Spawn Points To Be Equal Or Greater To The Number Of Players Joining": true,
"Send Dead Players Back Home": true,
"Send Defeated Players Back Home": true
},
"Animals": {
"Die Instantly": false,
"Put To Sleep": true
},
"Automatically Power On Devices": {
"AutoTurrets": false,
"FlameTurrets": false,
"Ovens": false
},
"Betting": {
"Allow Bets To Be Forfeit": true,
"Allow Bets To Be Refunded": false,
"Bets": [
{
"itemid": -2099697608,
"max": 50000,
"trigger": "stone"
},
{
"itemid": -1581843485,
"max": 50000,
"trigger": "sulfur"
},
{
"itemid": 69511070,
"max": 50000,
"trigger": "fragment"
},
{
"itemid": -1938052175,
"max": 50000,
"trigger": "charcoal"
},
{
"itemid": -265876753,
"max": 25000,
"trigger": "gp"
},
{
"itemid": 317398316,
"max": 1000,
"trigger": "hqm"
},
{
"itemid": 1248356124,
"max": 10,
"trigger": "c4"
},
{
"itemid": -742865266,
"max": 6,
"trigger": "rocket"
}
],
"Enabled": true
},
"Custom Kits": {
"Kits": {
"Assault Rifle and Bolt Action Rifle": [
{
"ammo": "ammo.rifle",
"amount": 1,
"container": "belt",
"mods": [
"weapon.mod.lasersight",
"weapon.mod.holosight"
],
"shortname": "rifle.ak",
"skin": 0,
"slot": -1
},
{
"ammo": "ammo.rifle",
"amount": 1,
"container": "belt",
"mods": [
"weapon.mod.lasersight",
"weapon.mod.small.scope"
],
"shortname": "rifle.bolt",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 5,
"container": "belt",
"mods": null,
"shortname": "largemedkit",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 5,
"container": "belt",
"mods": null,
"shortname": "bandage",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 5,
"container": "belt",
"mods": null,
"shortname": "syringe.medical",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 5,
"container": "belt",
"mods": null,
"shortname": "barricade.wood.cover",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "wear",
"mods": null,
"shortname": "hoodie",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "wear",
"mods": null,
"shortname": "metal.facemask",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "wear",
"mods": null,
"shortname": "metal.plate.torso",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "wear",
"mods": null,
"shortname": "pants",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "wear",
"mods": null,
"shortname": "burlap.gloves",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "wear",
"mods": null,
"shortname": "shoes.boots",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 200,
"container": "main",
"mods": null,
"shortname": "ammo.rifle",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "main",
"mods": null,
"shortname": "weapon.mod.flashlight",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "main",
"mods": null,
"shortname": "weapon.mod.small.scope",
"skin": 0,
"slot": -1
}
],
"Assault Rifle and Bolt Action Rifle-1": [
{
"ammo": "ammo.rifle",
"amount": 1,
"container": "belt",
"mods": [
"weapon.mod.lasersight",
"weapon.mod.holosight"
],
"shortname": "rifle.ak",
"skin": 0,
"slot": -1
},
{
"ammo": "ammo.rifle",
"amount": 1,
"container": "belt",
"mods": [
"weapon.mod.lasersight",
"weapon.mod.small.scope"
],
"shortname": "rifle.bolt",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 5,
"container": "belt",
"mods": null,
"shortname": "largemedkit",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 5,
"container": "belt",
"mods": null,
"shortname": "bandage",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 5,
"container": "belt",
"mods": null,
"shortname": "syringe.medical",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 5,
"container": "belt",
"mods": null,
"shortname": "barricade.wood.cover",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "wear",
"mods": null,
"shortname": "hoodie",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "wear",
"mods": null,
"shortname": "metal.facemask",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "wear",
"mods": null,
"shortname": "metal.plate.torso",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "wear",
"mods": null,
"shortname": "pants",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "wear",
"mods": null,
"shortname": "burlap.gloves",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "wear",
"mods": null,
"shortname": "shoes.boots",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 200,
"container": "main",
"mods": null,
"shortname": "ammo.rifle",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "main",
"mods": null,
"shortname": "weapon.mod.flashlight",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "main",
"mods": null,
"shortname": "weapon.mod.small.scope",
"skin": 0,
"slot": -1
}
],
"Rocket PVP": [
{
"ammo": "ammo.rocket.basic",
"amount": 1,
"container": "belt",
"mods": [],
"shortname": "rocket.launcher",
"skin": 0,
"slot": -1
},
{
"ammo": "ammo.rocket.hv",
"amount": 10,
"container": "belt",
"mods": [],
"shortname": "rocket.launcher",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 5,
"container": "belt",
"mods": null,
"shortname": "largemedkit",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 5,
"container": "belt",
"mods": null,
"shortname": "bandage",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 5,
"container": "belt",
"mods": null,
"shortname": "syringe.medical",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 5,
"container": "belt",
"mods": null,
"shortname": "barricade.wood.cover",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "wear",
"mods": null,
"shortname": "hoodie",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "wear",
"mods": null,
"shortname": "metal.facemask",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "wear",
"mods": null,
"shortname": "metal.plate.torso",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "wear",
"mods": null,
"shortname": "pants",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "wear",
"mods": null,
"shortname": "burlap.gloves",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "wear",
"mods": null,
"shortname": "shoes.boots",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 200,
"container": "main",
"mods": null,
"shortname": "ammo.rifle",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "main",
"mods": null,
"shortname": "weapon.mod.flashlight",
"skin": 0,
"slot": -1
},
{
"ammo": "ammo.rocket.hv",
"amount": 10,
"container": "main",
"mods": null,
"shortname": "ammo.rocket.hv",
"skin": 0,
"slot": -1
}
]
},
"Use Workshop Skins": true
},
"Deathmatch": {
"Announce Deaths To Match": true,
"Announce Deaths To Server": true,
"Chat Command": "tdm",
"Economics Money [0 = disabled]": 0,
"Enabled": true,
"Evil Shirt Skin": 14177,
"Friendly Fire": true,
"Good Shirt Skin": 101,
"Max Team Size": 5,
"Min Team Size": 2,
"ServerRewards Points [0 = disabled]": 0,
"Shirt Shortname": "tshirt"
},
"Deployables": {
"Allow Barbed Wooden Barricade": false,
"Allow Concrete Barricade": false,
"Allow High External Stone Wall": false,
"Allow High External Wooden Wall": false,
"Allow High Ice Wall": false,
"Allow Metal Barricade": false,
"Allow Sandbag Barricade": false,
"Allow Stone Barricade": false,
"Allow Wooden Barricade": false,
"Allow Wooden Barricade Cover": true,
"Allow Wooden Ladder": false,
"Morph Barricades Into High External Stone Walls": false,
"Morph Barricades Into High External Wooden Walls": true
},
"Ranked Ladder": {
"Award Top X Players On Wipe": 3,
"Enabled": true
},
"Respawn": {
"Give Kit If Respawn Items Are Empty": "autokit",
"Items": [
{
"ammo": null,
"amount": 1,
"container": "belt",
"mods": null,
"shortname": "rock",
"skin": 0,
"slot": -1
},
{
"ammo": null,
"amount": 1,
"container": "belt",
"mods": null,
"shortname": "torch",
"skin": 0,
"slot": -1
}
]
},
"Rewards": {
"Economics Money [0 = disabled]": 0,
"Required Money To Duel": 0,
"ServerRewards Points [0 = disabled]": 0
},
"Settings": {
"Allow Announcement": true,
"Announce Duel Information Every X Seconds": 1800,
"Auto Create Dueling Zone If Zone Does Not Exist": true,
"Auto Enable Dueling If Zone(s) Exist": true,
"Auto Wipe Dueling Zones On Map Wipe": true,
"Blacklist Commands": false,
"Blacklisted Chat Commands": [
"/tp",
"/remove",
"/bank",
"/shop",
"/event",
"/rw",
"/home",
"/trade"
],
"Broadcast Defeat To All Players": true,
"Building Block Extension Radius": 30,
"Bypass Naked Check And Strip Items Anyway": false,
"Chat SteamID": 0,
"Create Dome Around Event Using Spheres (0 = disabled, recommended = 5)": 0,
"Disable Requirement To Allow Duels": true,
"Duel Command Name": "duel",
"Immunity Time": 8,
"Kits": [
"Assault Rifle and Bolt Action Rifle",
"Assault Rifle and Bolt Action Rifle-1",
"LR 300 and Bolt Action Rifle-2"
],
"Kits Least Used": [
"Hunting Bow",
"Pump Shotgun",
"Semi-Automatic Pistol"
],
"Kits Least Used Chance": 0.01,
"No Movement During Immunity": true,
"No Stability On Structures": true,
"Player Health After Duel [0 = disabled]": 100,
"Prevent Players From Spawning In Zone": true,
"Prevent Players Not Dueling From Entering The Zone": false,
"Queue Command Name": "queue",
"Reset Temporary Ladder Each Wipe": true,
"Respawn Dead Players On Disconnect": true,
"Respawn Zone Walls On Death": false,
"Scale Damage Percent": 1,
"Set Preferred Environment Plugin Time": false,
"Time To Duel In Minutes Before Death": 5,
"Use Random Skins": true,
"Whitelist Commands": false,
"Whitelisted Chat Commands": [
"/report",
"/pm",
"/r",
"/help"
]
},
"Spawns": {
"Auto Remove On Zone Removal": false,
"Draw Time": 30,
"Remove All Distance": 50,
"Remove Distance": 10
},
"Spectators": {
"Send Home If Rematch Times Out": false
},
"User Interface": {
"Auto Enable GUI For Players": false,
"Chat Command": "dui",
"Send Spectators Home FirstOrDefault When Clicking Requeue": false,
"Show Close Button (X)": true,
"Show Defeat Message UI For X Seconds": 7.5,
"Use Cursor": false
},
"Zone": {
"Avoid Creating Automatic Spawn Points In Water": true,
"Create Least Amount Of Walls": false,
"Create New Zone Every X Duels [0 = disabled]": 10,
"Extra High External Wall Stacks": 2,
"Max Zones [Min 1]": 1,
"Maximum Incline On Hills": 10,
"Players Per Zone [Multiple Of 2]": 10,
"Players Visible To Admins": true,
"Use Arena Wall Generation": true,
"Use Wooden Walls": false,
"Zone Radius (Min: 50, Max: 300)": 50
}
}
hi. you have it configured to send them home
"Send Defeated Players Back Home": true
got it ill change that to false and test after thanks!
hey just wanted to double confirm... please see the photo https://ibb.co/fSfnqnN
So when a player hits the "reque" button this menu on the right side pops up double confiriming if this was intentional
thanks !
also a few times randomly after a zone is made a new zone isnt always made after the 10xs duels i would say probably every other 10x duels ill have to make a new one manually
again server loves your plugin and its always being used!
hi,
if you're forced to confirm then both players do not have autoready enabled. they must enable or re-enable it
autoready is auto disabled when:
- disconnecting in a duel
- clicking or typing "ready" when no rematch is available
- clicking or typing "ready" more than once
no plans to make it enabled by default since players will be able to easily toggle it on or off with those changes.
new zones aren't always made due to a bug and will be fixed soon
Merged post
https://pastebin.com/RBJkJdAg
if you want to try it, save as Duelist.cs
thanks for the tranparency !