#(Servlet) `serverevent` does not fire server side

1 messages · Page 1 of 1 (latest)

glacial cedar
#

serverevent doesn't seem to fire server side.
here's the sample script:

# client side
another_client_script:
    type: world
    events:
        on keyboard key pressed name:k:
        - serverevent id:givetests
# Server side
server_event_test:
    type: world
    events:
        on custom event id:givetests:
        - announce <context.player>
        - announce hi

Client Log:
https://paste.denizenscript.com/View/112578

fallen pikeBOT
#

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>

dawn zenith
glacial cedar
dawn zenith
#

And restart to make sure the config is loaded and all? can you post it?

#

!pasteconfig

mighty gullBOT
glacial cedar
#
# Depenizen config

# Bungee server address (if any). Exclude the port.
# For example: "localhost"
# Use "none" to disable Bungee support functionality.
Bungee server address: none
# Set to the bungee server's primary port (if in use).
Bungee server port: 25565

# Settings related to the server-side support of the Clientizen mod, a mod providing client-side scripting & integration with servers running Denizen (and Depenizen).
# For more information, see the GitHub repository: https://github.com/DenizenScript/Clientizen
Clientizen:
  # Whether server-side Clientizen support should be enabled.
  # This controls things like the server sending Clientizen clients scripts, receiving events from clients, etc.
  # Disabling this setting will override all other Clientizen settings.
  enabled: true
  # Whether the server should listen to clients sending the server events, see the 'clientizen event' script event.
  process events: true
  # The maximum length (in bytes) for packets received from clients. Any packets exceeding this length will be refused.
  max packet length: 10000

#

I'll restart and try it again

#

yup tested it again, it fires client side but server side, it recieves nothing

dawn zenith
#

Hmm, could you enable extra info debugging client side (in the console GUI), and post a new client log?

glacial cedar
#

sure thing!

dawn zenith
#

Oh wait lol

#

!e clientizen event

mighty gullBOT
# dawn zenith !e clientizen event
Command Not Allowed Here

Meta documentation commands are not allowed in this channel. Please switch to a bot spam channel, or a Denizen channel.

dawn zenith
#

Still need to enable that

#

But uh, you have custom event instead of clientizen event there

silk sigil
#

lol

glacial cedar
#

I'll test that out

#

ey that works!

dawn zenith
#

sigh, more meta typos - will fix that, thanks

glacial cedar
#

atleast its working, xD

#

thanks for the hard work!

short ingotBOT
#
Closed

Thread closed as requested by command.