Skip to content
forked from toxuin/Griswold

Bukkit Plugin: squidwards can repair your stuff!

Notifications You must be signed in to change notification settings

cayuse/Griswold

 
 

Repository files navigation

Griswold

Bukkit Plugin: NPCs now can repair and enchant your stuff! – Without any commands!

Show your stuff to blacksmith and he'll tell you how much he wants for the job. If you agree – just pass him the item. Users have no commands (because they don't need them)!

Simple!

##Features:##

  • Command-free native minecraft game experience.

  • Multiworld support.

  • Repairing does not clear enchantments on enchanted items!

  • Items that are fully repaired can be enchanted (optional)!

  • Fully multilingual. There are english, german and russian out-of-the-box, but you can add more!

  • All major economy systems supported. If Vault supports something - than it'll work with Griswold.

  • Lightweight!

##Permissions:##

  • griswold.admin - lets you create and remove repairmen

  • griswold.tools - lets users talk to repairmen who repair their weapons and tools

  • griswold.armor - lets users talk to repairmen who repair armors

  • griswold.enchant - lets users to enchant their gear at repairmen

##Commands:##

These commands are for administrative purposes, users don't need them.

  • /blacksmith create name - creates new repairman. You can also specify more parameters: /blacksmith create name type cost. Name can be anything and will be displayed in chat when user talks to repairman. NPC types are described below. Cost is repairman's multiplier of cost – it can be greater than 1 to make prices higher or below 1 to make prices lower. Prices are rounded to 2 digits after comma.

  • /blacksmith list - lists all the repairmen ever created

  • /blacksmith remove name - removes a particular repairman

  • /blacksmith despawn / respawn - despawns or respawns all repairmen. Config is not re-read, you have to use next command to reload config.

  • /blacksmith reload - reloads config, despawns and then respawns all the repairmen.

All commands require griswold.admin permission and fallbacks to OP if something bad happens.

##NPC Types:## When you use /blacksmith create command you can specify a type of NPC. Available types are:

  • "all" – can repair everything and enchant repaired things.

  • "weapon" or "armor" – can repair only one type of items, cannot enchant.

  • "both" – can repair everything but cannot enchant.

  • "enchant" – these guys are just enchanters and cannot repair things.

##Config:##

All parameters are stored in config.yml and are reloadable without restarting the server (/blacksmith reload).

Debug is for debugging stuff and not usually useful if you don't know why you need it. Default is "false".

Timaout is for timeout of blacksmiths "remember" your item and are waiting for you to confirm the repair. Default is "5000" (5 sec).

Language is a name of language file (without .yml at the end) stored next to config.yml and containing all the text in preferred language. Default is "en_US".

UseEnchantmentSystem tells the plugin if he should allow spawning of enchant-type repairmen and allow all-type ones to add enchantments.

PriceToAddEnchantment sets the price to add one random set of enchantments. Default - 50.

ClearOldEnchantments says to repairmen whether they should blank the item before they enchant it or just add new enchantments to it. Default - true that means "yes, blank it".

EnchantmentBonus is a number of "virtual bookshelves" around blacksmith. Greater the number - cooler are enchantments. Default - 5.

You also can alternate price calculation by changing basic armor and tool prices and enchantment cost. Modify parameters BasicArmorPrice, BasicToolPrice and BasicEnchantmentPrice.

Prices are calculated like this: repairman cost parameter * (basic item type cost + (basic enchantment price * number of enchantments * sum'd enchantment levels)).

This formula makes repairment of simple non-enchanted items quite cheap, items with 1-2 enchantments are at moderate cost and uber-enchanted items repairment cost a fortune.

All other config parameters are configurable in-game, so you don't have to bother about them. But if you want – they are quite self-explanatory.

##Stats:##

Griswold stats

About

Bukkit Plugin: squidwards can repair your stuff!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%