SkriptLang / Skript

Skript is a Spigot plugin which allows server admins to customize their server easily, but without the hassle of programming a plugin or asking/paying someone to program a plugin for them.
https://docs.skriptlang.org
GNU General Public License v3.0
1.02k stars 358 forks source link

Villager races #2179

Open Misio12320 opened 5 years ago

Misio12320 commented 5 years ago

Hey I have some suggsstions.

FranKusmiruk commented 5 years ago
  1. Bukkit doesn't offer any methods to identify this, you could work it around by checking the biome at the villager's location.
  2. This is already possible, if event-villager is armorer:
  3. Not totally sure what you're asking here but it seems like something you could make with Skript. The plugin itself doesn't offer any features alone, it just provides the syntaxes to do so.
TheBentoBox commented 5 years ago

Bukkit doesn't offer any methods to identify this, you could work it around by checking the biome at the villager's location.

That isn't true, in 1.14 villagers have a getVillagerType which returns a Villager.Type.

Not totally sure what you're asking here but it seems like something you could make with Skript. The plugin itself doesn't offer any features alone, it just provides the syntaxes to do so.

They're asking for a way to change trading costs based on a permission. We shouldn't implement that so explicitly but Skript itself is basically entirely missing any support for the entire villager and merchant API.

Moderocky commented 5 years ago

They're asking for a way to change trading costs based on a permission. We shouldn't implement that so explicitly but Skript itself is basically entirely missing any support for the entire villager and merchant API.

The part you're looking for in terms of #3 is the price multiplier. Since Skript currently has nothing added in terms of merchant recipes, this would require a bit of work. Sadly, due to how price multipliers are implemented in Minecraft it would be quite difficult to (safely) make a permission-based trade price.

Matocolotoe commented 4 years ago

@Misio12320 How in the world are you able to like and dislike a message at the same time

Misio12320 commented 4 years ago

What the hell, dude? Are you sick? It was in June god.

Edit: so may change the thread name to another word because I can't understand what mean "Villager races"...