kangarko / ChatControl-Pro

The ultimate chat solution. Prevent spam, ads, swears and even bots on your server. Replaced by ChatControl Red: https://mineacademy.org/chatcontrol-red
Other
65 stars 8 forks source link

1.16.5: ERROR: JavaScript placeholders will not function! #2303

Closed kolakz closed 3 years ago

kolakz commented 3 years ago

Hello, I am getting the following error on server startup but I have NashornPlus installed. Not sure if the plugin Featherboard could be interfering with this as it downloads it's own NashornCore plugin for jdk 16.


[22:09:20 INFO]:   _____ _           _    _____            _             _  +
[22:09:20 INFO]:  / ____| |         | |  / ____|          | |           | |
[22:09:20 INFO]: | |    | |__   __ _| |_| |     ___  _ __ | |_ _ __ ___ | |
[22:09:20 INFO]: | |    | '_ \ / _` | __| |    / _ \| '_ \| __| '__/ _ \| |
[22:09:20 INFO]: | |____| | | | (_| | |_| |___| (_) | | | | |_| | | (_) | |
[22:09:20 INFO]:  \_____|_| |_|\__,_|\__|\_____\___/|_| |_|\__|_|  \___/|_|
[22:09:20 INFO]:   
[22:09:20 INFO]: Connecting to MySQL database...
[22:09:21 INFO]: Warning: Admin_Chat feature is deprecated. You can create an admin channel in channels.yml. If using Discord, you can put 'Discord: true' key there to connect it with Discord channel by the same name.
[22:09:21 INFO]: [PlaceholderAPI] Successfully registered expansion: chatcontrol
[22:09:21 INFO]: Hooked into: DiscordSRV
[22:09:21 INFO]: Warning: ViaVersion detected. If you are getting kicked with weird messages, disable packet features in settings.yml -> Packets.
[22:09:21 INFO]: Hooked into: ProtocolLib
[22:09:21 INFO]: BungeeCord hook enabled. Install www.spigotmc.org/resources/13079
[22:09:21 INFO]:   
[22:09:21 INFO]: Tutorial:
[22:09:21 INFO]: https://github.com/kangarko/ChatControl-Pro/wiki
[22:09:21 INFO]:   
[22:09:21 INFO]: Get help:
[22:09:21 INFO]: https://github.com/kangarko/ChatControl-Pro/issues
[22:09:21 INFO]:   
[22:09:21 INFO]: ChatControl loaded. Subscribe to our spam at mineacademy.org #joke
[22:09:21 INFO]: ______________________________________________________________
[22:09:21 INFO]: [DiscordSRV] API listener org.mineacademy.chatcontrol.lib.fo.model.DiscordListener$DiscordListenerImpl unsubscribed
[22:09:21 INFO]: [DiscordSRV] API listener org.mineacademy.chatcontrol.lib.fo.model.DiscordListener$DiscordListenerImpl subscribed (2 methods)
[22:09:21 INFO]: !-----------------------------------------------------!
[22:09:21 INFO]: ERROR: JavaScript placeholders will not function!
[22:09:21 INFO]:   
[22:09:21 INFO]: Your Java version/distribution lacks the
[22:09:21 INFO]: Nashorn library for JavaScript placeholders.
[22:09:21 INFO]:   
[22:09:21 INFO]: To fix this, install the NashornPlus
[22:09:21 INFO]: plugin from mineacademy.org/nashorn
[22:09:21 INFO]: !-----------------------------------------------------!
[22:09:21 INFO]: Warning: Not running script because JavaScript library is missing (install Oracle Java 8, 11 or 16 with mineacademy.org/nashorn):```
kangarko commented 3 years ago

To fix this, install the NashornPlus plugin from mineacademy.org/nashorn