Recent content by yap241986

  • After careful consideration and due to limited usage, we’ve made the decision to discontinue the PaperMC forums. Moving forward, we recommend using Hangar for plugin uploads, and for all other community discussions and support, please join us on Discord.
  1. Y

    How to use Title

    I'm creating a plugin using Paper API 1.20.4. I would like to show a title to a player. If I try to use player.sendTitle(String, String, int, int, int) the IDE tells me that it's deprecated. So I tried to use player.showTitle(Title), but I can't understand how to create a Title().
  2. Y

    Question Server Crash when always on

    I have a server that I keep running all the time, but after a while of it being on, the RAM fills up, and the server crashes. Plug-in in screenshots
  3. Y

    Solved Why TextComponent So Strange?

    My Code: class PlayerJoinListener: Listener { @EventHandler fun playerJoinEvent(event: PlayerJoinEvent) { val player = event.player val joinMsg = Component.text("§f[§a+§f] §f ${player.name()}") event.joinMessage(joinMsg) val config =...
  4. Y

    Question How can I register a command in plugin that use paper-plugin.yml

    How can i register a command if i use paper-plugin.yml instead of plugin.yml? I Searched i've found only person that say "you have to register them yourself"
  5. Y

    Custom death message

    Can you show me an example?
  6. Y

    Custom death message

    How can i set custom death message? (using event.deathMessage())