#(Dragin) Events not firing? (1.8.8)

152 messages · Page 1 of 1 (latest)

autumn marsh
#

So I have Citizens 2.0.16 on my server, but it doesn't exist on the repo, and events aren't firing. Is there some kind of support for it?

boreal bladeBOT
#

(Dragin) Events not firing? (1.8.8)

boreal bladeBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

coral swanBOT
# rain pine !1.8
Info: 1.8

Minecraft 1.8 is an 8+ year old Minecraft version (released <t:1409643900:R>) that we cannot reliably support.
While Citizens and Sentinel in their latest versions will still run on it, we cannot and will not provide support on this Discord or other platforms for it.
You can and should update your server. There are plugins for clientversion support and older-style PvP available.

For more information, refer to https://wiki.citizensnpcs.co/Minecraft_1.8.

autumn marsh
#

bruhhh

torpid musk
# autumn marsh bruhhh

citizens' latest version is minimally supported for 1.8, but we can't provide any kind of help further

autumn marsh
#

it literally just disables, it doesnt let me use it at all

torpid musk
#

use nothing but citizens and your server version

#

verifiably, you should target 1.19.3 or 1.18.2 - a modern version

#

if it works, you can take it back to 1.8

#

from there you're on your own - it works.

#

minimally

mystic aspen
#

!logs

coral swanBOT
# mystic aspen !logs
Info: logs

Please post your full latest log file.

Background Info: One of the most helpful tools to identifying the source of a problem is your server logs file! Logs contain all sorts of important information like server and plugin versions, any error messages, and a lot more important information (More Info).

How To: Your log can be found in the logs folder within your server folder. The most recent log is a text file labeled latest.log. To get help using these logs, please open that file in a text editor and copy all of the text, then open https://paste.denizenscript.com/New/Log and paste the text into the box on the page. Then click "Submit" and copy the URL and paste that back into this channel.

Please do not upload the file to Discord or to other pastebin services, use the log pastebin linked above.

mystic aspen
#

sounds like you haven't updated your citizens version anyway

vestal boughBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@autumn marsh

autumn marsh
#

i coded a plugin

#

for 1.8

#

and i want to use 1.8

#

so how do i import

#

for 1.8

mystic aspen
#

!update citizens

coral swanBOT
torpid musk
#

just update your citizens version

#

click this link

#

download it and use it for your 1.8 server

vestal boughBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@autumn marsh

autumn marsh
torpid musk
torpid musk
#

you really want to update to modern versions when you can, it's important

autumn marsh
#

but thanks!

#

actually the events still arent firing?

#

do i need to register them separately?

#

Code for the event:

@EventHandler
public void onNPCClick(NPCClickEvent event) {
    event.getClicker().sendMessage(ChatColor.RED + "Clicked " + event.getNPC().getName());
    if (event.getNPC().getName().equals(ChatColor.RED + (ChatColor.BOLD + "Bedwars"))) {
        event.getClicker().sendMessage(ChatColor.GREEN + "It works!");
    }
}
torpid musk
#

but it does work, yes.

#

minimally - i must emphasis

#

there are features we have provided that cannot function on 1.8

autumn marsh
torpid musk
#

other plugins

autumn marsh
#

I have WorldEdit, ViaVersion, ViaBackwards, ViaRewind, Multiverse and WorldEdit

torpid musk
#

probably one of the via's

autumn marsh
#

which one

torpid musk
#

oh

#

you're outdated

#

you're not in their discord

#

they didnt put it anywhere else yet

#

1 sec

autumn marsh
#

??

#

all my vias are up to date

#

i downloaded them a few hours ago

torpid musk
#

you're probably wrong, you're not in their discord

#

can you paste a startup log?

autumn marsh
#

k 1 sec

torpid musk
#

!logs

coral swanBOT
# torpid musk !logs
Info: logs

Please post your full latest log file.

Background Info: One of the most helpful tools to identifying the source of a problem is your server logs file! Logs contain all sorts of important information like server and plugin versions, any error messages, and a lot more important information (More Info).

How To: Your log can be found in the logs folder within your server folder. The most recent log is a text file labeled latest.log. To get help using these logs, please open that file in a text editor and copy all of the text, then open https://paste.denizenscript.com/New/Log and paste the text into the box on the page. Then click "Submit" and copy the URL and paste that back into this channel.

Please do not upload the file to Discord or to other pastebin services, use the log pastebin linked above.

autumn marsh
#

i know what logs are...

torpid musk
#

its just helpful, we have a pastebin link in the message so you dont have to look for it

#

you can disregard what you know

autumn marsh
#

err, its not selecting it all 1 sec

torpid musk
#

take your time

prisma coyote
#

please do not just assume you know and try to post them here directly

autumn marsh
torpid musk
#

that's what's most helpful for us, if you maybe meant something else

#

but still, take your time, im still looking for the via information i need to give you

autumn marsh
torpid musk
#

discord for some reason is giving me messages from half a month ago as my most recent messages ffs

autumn marsh
autumn marsh
#

what????
i just downloaded viaversion a few hours ago!

torpid musk
#

yep, that site is outdated

#

they havent updated it, not sure why

#

might be able to see more we can look for problems:

coral swanBOT
# torpid musk !logcheck https://paste.denizenscript.com/View/105936
Server Version

CraftBukkit version git-PaperSpigot-445 (MC: 1.8.8)-- (:warning: Outdated MC version)

Plugin Version(s)

Citizens v2.0.30-SNAPSHOT (build 2901) -- (Current build :white_check_mark:)

Checked For

@torpid musk

Possibly Relevant Plugin(s)

ViaVersion v4.5.1 - Mixed client vs server versions can sometimes cause packet-related issues.

torpid musk
#

ah, no, just viaversion and being 1.8

#

you can try 4.5.2 viaversion but everything else should work fine

autumn marsh
torpid musk
#

i copied and pasted all of their actual latest versions

#

idk what you need, but 1.8 is considered legacy

#

you have a few options from this point though

#

update via, see if it works;
via may be able to help from here if events do not fire still

#

it's very relevant

autumn marsh
torpid musk
#

correct

#

paper is bukkit

#

an example is why we download Vault from Bukkit

autumn marsh
torpid musk
#

we likely are talking about the same thing but the terminology is wrong

autumn marsh
#

paper is an extension of spigot which is an extension of bukkit, and bukkit is the most limited

torpid musk
#

yes

autumn marsh
#

so i thought

#

that the legacy one

#

was so that stuff bukkit didnt support

#

could still be used

torpid musk
# torpid musk you have a few options from this point though

i should emphasis this alternatively instead completely:

  • you should test and see if 1.18.2 or 1.19.3 can reproduce the problem; if it does, we can fix it, and you can try and take it back to your 1.8 server
  • the best option here is to upgrade to 1.18.2 or 1.19.3 and provide support to let players play on your 1.18.2/1.19.3 server but on 1.8 clients, they dont have to upgrade since you use viaversion, this is what most people do currently
  • you can spend hours looking for versions that work, but this isn't something we can help with and it's unhealthy
#

those are the best three options i can recommend, the second being the most healthy for you and least stressful

#

we can help with any problems you encounter that way, at least

torpid musk
#

you now have two options i suggested which are your best options

#

i still highly recommend the second, as anyone else would

autumn marsh
#

I might know - it might be because the main world isn't the default world?

#

I made a world called main and set it as the default world, so that I could regenerate the actual world with a void generator

#

uhhh
@torpid musk do i need to add anything to my plugin?
public final class Main extends JavaPlugin implements CommandExecutor, TabCompleter, Listener
i have an event listener + registerer, and i think i imported it correctly
is there anything else i need to add?

autumn marsh
#

@torpid musk

torpid musk
autumn marsh
#

is there anything other than the dependency, listener and event register needed to use events in citizens

autumn marsh
frigid cargo
#

He doesnt know the answer to your questions, please be patient

#

If you need help with your Citizens code you can paste it but note this is not a java discord.

#

!pastejava

coral swanBOT
frigid cargo
#

Also you're on an ancient minecraft version. We can't provide support for that.

#

!1.8

coral swanBOT
# frigid cargo !1.8
Info: 1.8

Minecraft 1.8 is an 8+ year old Minecraft version (released <t:1409643900:R>) that we cannot reliably support.
While Citizens and Sentinel in their latest versions will still run on it, we cannot and will not provide support on this Discord or other platforms for it.
You can and should update your server. There are plugins for clientversion support and older-style PvP available.

For more information, refer to https://wiki.citizensnpcs.co/Minecraft_1.8.

frigid cargo
#

Please also check the link.

torpid musk
#

only because you are on 1.8

#

the only way to get java help here is if:

  • it is modern version like 1.18.2 or 1.19.3
  • and it is using Citizens API, not bukkit, spigot, or paper
autumn marsh
#

its using citizens api what

rain pine
#

that was appended as a relevant requirement, not necessarily implying that you don't already meet that part

#

the thing you're currently not meeting is the supportable minecraft version from the current decade part

#

(though it is a valid possibility that you aren't meeting that latter requirement, would depend on your code, but sounds like a basic linking/event handling issue which is a general Java and/or Bukkit question, not Citizens)

#

(but either way the version part is the more important part)

autumn marsh
#

apparently i didnt hook citizens, but it didnt do anything when i did...

#

is this correct

depend: [Citizens]
coral swanBOT
# rain pine !1.8
Info: 1.8

Minecraft 1.8 is an 8+ year old Minecraft version (released <t:1409643900:R>) that we cannot reliably support.
While Citizens and Sentinel in their latest versions will still run on it, we cannot and will not provide support on this Discord or other platforms for it.
You can and should update your server. There are plugins for clientversion support and older-style PvP available.

For more information, refer to https://wiki.citizensnpcs.co/Minecraft_1.8.

autumn marsh