Tail log for #paper-dev on SpigotMC

Topic -- Topic: Paper plugin/server development channel | Source: https://github.com/PaperMC/Paper/ | Maven: https://papermc.io/repo/repository/maven-public/ | Download: https://papermc.io/downloads
Topic -- Topic set on May 16, 2019 05:28:23 am by Z750
15:27:52 DiscordBot <M​eF​is​to​94​> runServer task 😍
15:28:23 DiscordBot <M​eF​is​to​94​> Speaking of that though, how would you localize a plugin. I am inbetween string.format and using translation keys from the RP
15:28:49 DiscordBot <P​ro​xi​my​st​ (​sh​e/​he​r)​> @Danny6167 updated upstream :)
15:28:57 DiscordBot <z​0w​0> it's moderately painful whatever you do
15:29:01 DiscordBot <M​eF​is​to​94​> Mostly because stringFormat has a strict order of variables and while it's not a fair comparison, I could use Translatable components
15:29:12 DiscordBot <D​an​ny​61​67​> Thank you! I'll have a play 🙂
15:29:18 DiscordBot <z​0w​0> if you're already enforcing a resource pack using translatable components is best though
15:29:27 phoenix616 if you already require a resource pack then I would just do it that way
15:29:48 DiscordBot <z​0w​0> hm seems like action bar doesn't handle newlines at all
15:29:55 phoenix616 but you can detect the client language server side so I personally just do it server side ¯\_(ツ)_/¯
15:30:01 DiscordBot <M​eF​is​to​94​> require as in I track downloads? no. As in I blame them until they leave the server, yes
15:30:17 DiscordBot <z​0w​0> if you don't kick on RP rejection, then you should do localization serverside
15:30:32 phoenix616 I have my own library for language stuff: https://github.com/Phoenix616/lang ;D
15:31:59 DiscordBot <v​io​le​t> why are they a bot
15:32:01 DiscordBot <M​eF​is​to​94​> Oh it also even hase placeholders
15:32:04 DiscordBot <M​eF​is​to​94​> %name%
15:32:05 phoenix616 rude?
15:32:06 DiscordBot <M​eF​is​to​94​> IRC Bridge
15:32:10 DiscordBot <v​io​le​t> oh sorry right
15:32:15 DiscordBot <v​io​le​t> i forgot about irc
15:32:17 DiscordBot <v​io​le​t> my bad
15:32:57 DiscordBot <M​eF​is​to​94​> and I forgot about IRC people claiming to be hyper natural bots 😛
15:34:41 z0w0 imagine asking someone why they're a bot
15:35:39 DiscordBot <M​eF​is​to​94​> Which NN is powering you z0w0
15:35:48 z0w0 KittehNet
15:37:19 DiscordBot <M​eF​is​to​94​> phoenix: lang looks good, besides issue 1 😛
15:37:52 DiscordBot <M​eF​is​to​94​> AND BESIDES THE THEME ON YOUR CI
15:39:55 phoenix616 :P
15:49:27 DiscordBot <Z​dz​is​zk​ee​> Is there anyway to store custom structure in java object, rotate it, loop through it's elements, paste it ?(edytowane)
15:51:09 DiscordBot <J​oo​20​0> sounds like you want something like the worldedit api?