Sueta

Wikibook™

1.0.7

The more you know!

·Plugin

obtain wikipedia articles from bookshelves

config
# config version, don't touch
version: ${project.version}

# Send a console message if there's a new version available
updateNotifications: false

# the cooldown in seconds for wikibooks request.
useCooldown: 3

# if set to true, books placed back in bookshelves may be obtained again.
recycleBooks: false

# only works in these worlds.
enabledWorlds:
  - world
  - world1
  - world2

# the wikipedia article language
language: "en"

# messages, some of these contain java formatting stuff, don't mess with those.
messages:
  NO_PERMISSION: "No permissions."
  NO_INVENTORY_SPACE: "Free up some space first."
  TOPIC_NOT_FOUND: "Didn't find any article for \"%s\"."
  PLAYER_COOLDOWN: "Quick reader huh? Please wait %.1fs."
  DISABLED_IN_WORLD: "Sike! this ain't available in your world, punk."

misc:
  actionBarMessage: false
disclaimer

Some languages might not be 100% correct, i recommend keeping it in English for now.

This is because the Minecraft font characters are not size consistant and i can only get the width of the default ascii character font making it hard for others to display correctly in the book. the Wikipedia API also have a tendency to put in random characters for some languages.

Similar projects

Plugin →