Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by Aikar, Apr 19, 2017.
Sooo.... Could anyone help me please.
Looks like you're not shading in the plugin properly? You're seemingly missing the default translation files, also, make sure that you use
Thing is it only happens for one person, everyone else doesn't have this issues. Could it be that he is hosting his server from his pc?
Is there a way to use a string with multiple arguments? I know how to do it without ACF but how do I do it with ACF?
Can you expand upon that? What do you mean?
So If someone was to write a message (example not what I'm trying to do) /warn <player> <reason> so it would be like /warn Splodgebox for being rude
Just using String as the last argument will make it deal with that, you can use [USER=450784]@Single[/USER] (This website hates me, attempt 3...) to make it only read a single arg
pushed slew of updates last night
1) fixed a bug that probably broke Paper Async Tab Completion
2) permissions on /root commands should now be implemented more reliably so that if a player doesn't have access to any subcommand, they shouldn't see it in tab, where as before it was iffy (it had some setting if the class file itself had a permission defined but it wasn't 'right'), but now it should be fairly logical on handling. bungee is still iffy due to bungee being limited on API for this.
3) fixed a bug per discussion with @TehNeon for CommandCompletionContext#getContextValue incorrectly parsing too many args, but that would only be applicable to you if you implement contextual completion handlers which is pretty advanced.
and incase you are not on Discord, fixed overall Paper Async Tab Completion issues
Why are many people getting this error https://hastebin.com/atakokuheq.apache (It doesn't happen for everyone)
@Splodgebox build script? did you happen to relocate "co.aikar.timings" instead of "co.aikar.timings.lib"?
id 'net.ltgt.apt' version '0.10'
apply plugin: "com.github.johnrengelman.shadow"
apply plugin: 'java'
group = pluginGroup
version = pluginVersion
sourceCompatibility = 1.8
targetCompatibility = 1.8
name = 'spigotmc-repo'
url = 'https://hub.spigotmc.org/nexus/content/groups/public/'
name = 'sonatype'
url = 'https://oss.sonatype.org/content/groups/public/'
url = "https://repo.aikar.co/content/groups/aikar/"
url = "https://hub.spigotmc.org/nexus/content/groups/public/"
options.compilerArgs += ["-parameters"]
options.fork = true
options.forkOptions.executable = 'javac'
testCompile group: 'junit', name: 'junit', version: '4.12'
compileOnly name: 'Factions'
compileOnly name: 'worldguard'
compileOnly name: 'worldedit'
compileOnly name: 'spigot'
compileOnly name: 'TacoSpigot'
compileOnly name: 'Vault'
relocate 'co.aikar.commands', 'net.splodgebox.cosmic.acf'
filter ReplaceTokens, tokens: [version: version]
You need to relocate the timings library too, otherwise it will cause issues for people using plugins which have different versions of the timings library, relocate `co.aikar.timings.lib`
Okay, do I remove relocate 'co.aikar.commands', 'net.splodgebox.cosmic.acf'
Nope, you still need to relocate ACF, you just also need to relocate the timings library
Shouldn't that be added to https://github.com/aikar/commands/wiki/Maven-Setup ?
hmm ACF is suppose to relocate that itself, but is commonly broken by people decide to choose to relocate all of my namespace or just timings (without me saying to)
though it is possible that due to the way I have acf artifacts setup (to avoid duping) that the relocates aren't being carried :/
ideally I want the acf jar that bundles minecraft-timings to already have it relocated.
So it's enough to relocate co.aikar.commands?
I just want to make sure I do it the right way before releasing the next update.
Hey, Sorry for the mass amount of questions I have about this
Is it possible to remove this message?
[ACF] Minecraft Version: 1.8