BattlePlugins / BattleArena

A complete match and event framework for creating arenas and minigames in Minecraft. Supports creating modes through config files, or fully custom modes through plugins.
https://docs.battleplugins.org/shelves/battlearena
GNU General Public License v3.0
21 stars 23 forks source link

Broken Signs - Capture the Flag & Free for All #114

Closed Webman97 closed 3 years ago

Webman97 commented 4 years ago

When creating signs for Capture the Flag and Free for All, the plugin shows that each sign is created successfully. However, the arena name does not show up under either. When clicking the "Join" sign, nothing happens. When clicking the "Leave" sign, players are able to leave the arena. These signs are not changing the color of the blocks their on, nor showing the amount of players in the arena at a time.

Please let me know if further information is needed.

Redned235 commented 4 years ago

When creating signs for Capture the Flag and Free for All, the plugin shows that each sign is created successfully. However, the arena name does not show up under either. When clicking the "Join" sign, nothing happens. When clicking the "Leave" sign, players are able to leave the arena. These signs are not changing the color of the blocks their on, nor showing the amount of players in the arena at a time.

Please let me know if further information is needed.

Is there any error in console?

Webman97 commented 4 years ago

Is there any error in console?

No.

Redned235 commented 4 years ago

Is there any error in console?

No.

If you're using ctf between the brackets, use capturetheflag instead, or if it's the reverse, vice versa. Also, make sure you are specifying an arena on the third line (see this page for more information).

Webman97 commented 4 years ago

If you're using ctf between the brackets, use capturetheflag instead, or if it's the reverse, vice versa. Also, make sure you are specifying an arena on the third line (see this page for more information).

I can confirm I've tried all iterations and permutations of this. Hours of testing, for some reason it just doesn't seem to be working. Very odd.

Redned235 commented 4 years ago

image Seems to be fine for me. Make sure that everything in the arena is set up (e.g. you have all the waitrooms, flags, and spawns set) and that you can join with the normal join commands too.

Webman97 commented 4 years ago

Seems to be fine for me. Make sure that everything in the arena is set up (e.g. you have all the waitrooms, flags, and spawns set) and that you can join with the normal join commands too.

I'll test again and report back!

Webman97 commented 4 years ago

Per your steps, I was able to resolve the CTF issue. I was missing a waiting room. However, my FFA arena is still not working. My FFA arena has waitrooms and spawns set, am I missing something else?

Redned235 commented 4 years ago

Per your steps, I was able to resolve the CTF issue. I was missing a waiting room. However, my FFA arena is still not working. My FFA arena has waitrooms and spawns set, am I missing something else?

Have you made sure that you're able to join it using the normal /ffa join <name of arena> command? If not, make sure that you are able to do that and then try to set up the sign again.

Webman97 commented 4 years ago

Have you made sure that you're able to join it using the normal /ffa join <name of arena> command? If not, make sure that you are able to do that and then try to set up the sign again.

Yes, I am able to join using the normal /ffa join <name of arena>

Redned235 commented 4 years ago

Have you made sure that you're able to join it using the normal /ffa join <name of arena> command? If not, make sure that you are able to do that and then try to set up the sign again.

Yes, I am able to join using the normal /ffa join <name of arena>

Try using [freeforall] on the first line of the sign. If that's not working, try [ffa].

Webman97 commented 4 years ago

Try using [freeforall] on the first line of the sign. If that's not working, try [ffa].

I've tried both, same results. [ffa] does not work, [freeforall] works.

Redned235 commented 4 years ago

Have you made sure the arena name was correct? Seems to be working just fine for me. image

Webman97 commented 4 years ago

Have you made sure the arena name was correct? Seems to be working just fine for me.

Using that exact syntax, it is not working. The arena name disappears after I create the sign. Am I missing a spawn? Waitroom? Etc..

Redned235 commented 4 years ago

Have you made sure the arena name was correct? Seems to be working just fine for me.

Using that exact syntax, it is not working. The arena name disappears after I create the sign. Am I missing a spawn? Waitroom? Etc..

As far as I know if you're able to join with /ffa join <arena name>, it should show up just fine on the sign. Try creating a new ffa arena and see if the same problem persists.

Webman97 commented 4 years ago

As far as I know if you're able to join with /ffa join <arena name>, it should show up just fine on the sign. Try creating a new ffa arena and see if the same problem persists.

Will do! I'll let you know if this fixes the issue!

Webman97 commented 4 years ago

I deleted the Free for All arena, created a new FFA arena, set 12 spawns/12 waitrooms, and placed the sign down:

  1. [FreeForAll]
  2. join
  3. ffa-1

Same result...

Webman97 commented 4 years ago

I threw the following in console when placing the sign down/trying to interact with the sign: https://pastebin.com/xmHJt5nU

Webman97 commented 4 years ago

@RednedEpic Any updates regarding this issue?

Redned235 commented 4 years ago

@RednedEpic Any updates regarding this issue?

I've only briefly looked through the code, but the error could be caused if you don't have a world called world. Is this the case on your server?

Webman97 commented 4 years ago

@RednedEpic I have a world called world on my server, so no. Now I get this message when creating signs:

Untitled

Considering other Arena & BattleArena game modes are not colliding in this regard (I was able to create all other signs with no issues), I assume the issue is related to BattleArena's FFA function specifically.

Webman97 commented 3 years ago

I'm assuming this issue will not be resolved. Since I have not received a reply in over 8 months, I am closing this.