MC-Market is now BuiltByBit. Read more

  • We're giving away $35,000 of prizes! Invite 2 friends to our Discord for free Premium! Learn more

Harry Potter Economy [MYSQL] [APPARITION] [FLOO POWDER] [HOUSES] 1.7.2

Create your professional Harry Potter server in seconds! Recreation of PotterWorld!
yFDB1.png

Please do not report bugs in the review section!

Ad8Gc.png

Hello, world! Today I am launching another plugin! A plugin we've never seen on SpigotMC, Harry Potter Economy! Do you want to create a Harry Potter server? Which Harry Potter server doesn't have Gringots bank or a Floo Network or even portkeys? With Harry Potter Economy you can easily trade galleons with others and you can easily travel around the world with Floo Powder.


XtHMv.png

- Multiple commands

- FULL PLAYERDATA & HOUSE MYSQL SUPPORT
- Automatic signs showing house points
- Stunning default configuration
- Apparation and floo powder effects
- Private floo destinations
- Chat hover information display
- Region entry limits based on year (e.g. Hogsmeade)
- Fully customisable chat
- Portkey system
- Apparation
- Auto unlock apparation points
- Years
- House chat
- Custom food like Bertie Bott's Every Flavour Beans
- Per player chat colors
- TitleAPI support
- Ingame setup for portkeys
- Win the house cup with house points
- A built-in API for developers
- A custom scoreboard with integration for the Magic plugin
- Sort a player in one of the four houses
- Pay galleons with one single command
- Add, Remove and set a player's Floo Powder
- Open the Floo Network by right clicking a block
- Fully customisable GUI for buying Floo Powder
- Fully customisable GUI for using Floo Powder
- Permission support (permissions of other plugins will still work)
- Add as many places as you want
- Fully customisable messages.yml
- Add item lores
- Change GUI title

7TL3W.png

- Add support for sounds & particles.

- Add a menu for nearby portkeys

0qBj6.png

1. Buy the plugin and drop the .jar-file in your plugins folder.

2. Install TitleAPI, if you want to use titles.
3. Install Magic, if you want to use magic integration.
4. Configure the messages in the messages.yml.
5. Setup the floo network, portkeys etc. ingame.

Vn1lb.png

Code:
/harrypottereconomy (reload rl rel) reload - Reload the pluginw
/floopowder (fp, floo, brandstof) - Show your floo powder
/floopowdereconomy (buy) buy [player] - Buy new Floo Powder
/floopowdereconomy (menu) menu [player] - Open the Floo Network
/floopowdereconomy (reload rl rel) reload - Reload all Floo Powder files
/floopowdereconomy (set) set <player> <amount> - Set a player's Floo Powder
/floopowdereconomy (add) add <player> <amount> - Add Floo Powder to a player
/floopowdereconomy (remove rem) remove <player> <amount> - Remove Floo Powder from a player
/floopowdereconomy (create) create <name> <item> <durability> <price> - Create a fireplace
/floopowdereconomy (settp) settp <number***> - Set the teleportation point for a fireplace
/floopowdereconomy (seteffect) seteffect <player> <effect> - Set someone's flooeffect
/floopowdereconomy (createprivate) createprivate <name> - Create a private fireplace
/floopowdereconomy (setprivatetp) setprivatetp <name> - Set the teleportation point for a private fireplace
/floopowdereconomy (removeprivate) removeprivate <name> - Remove a private fireplace
/apparation (menu) menu [player] - Open the apparation menu
/apparation (create) create <name> <item> <durability> <region> - Create an apparation point
/apparation (settp) settp <id***> - Set the teleportation point of an apparation
/apparation (togglelicense) togglelicense <player> - Toggle someone's apparation license
/apparation (seteffect) seteffect <player> <effectID> - Set someone's apparationeffect
/housepoints (housestats, afdelingspunten, punten) - Show house stats
/house (set) set <player> <house> - Set a player's house
/house (setpoints) setpoints <house> <points> - Set the points of a house
/house (addpoints) addpoints <player> <points> <message> - Add points to a house
/house (removepoints) removepoints <player> <points> <message> - Remove points from a house
/house (advanceyear) advanceyear <player> - Advance a player to the next year.
/house (setyear) setyear <player> <year> - Set a player's year.
/house (setchatcolor) setchatcolor <player> <chatcolor> - Set a player's chatcolor
/house (chat togglechat) chat - Toggle your house chat
/portkey (add) add <name> - Add a new portkey
/portkey (settp) settp <name> - Set the tp location of a portkey
/portkey (number) remove <number> - Remove a portkey
/portkey (menu) menu [player] - Open the Portkey menu

***: Slot means the slot in the GUI, starting with 0.

tS1kb.png

In this section you can find detailed instructions on how to configure the plugin.
NOTE: ’ is not the same as '.
NOTE: You can find a full list of materials here.


NOTE: THESE ARE OLD CONFIGURATION FILES AND YOU WILL MOST LIKELY FIND EVERYTHING SOMEWHERE ELSE!
1. config.yml
YAML:
debug: false
mysql:
  transferFile_WARNING: false
  playerdata: false
  host: YOUR_IP
  port: 3306
  username: YOUR_USERNAME
  password: YOUR_PASSWORD
  database: YOUR_DATABASE
year:
  '1':
    name: First Year
    abbreviation: '1'
  '2':
    name: Second Year
    abbreviation: '2'
  '3':
    name: Third Year
    abbreviation: '3'
  '4':
    name: Fourth Year
    abbreviation: '4'
  '5':
    name: Fifth Year
    abbreviation: '5'
  '6':
    name: Sixth Year
    abbreviation: '6'
  '7':
    name: Seventh Year
    abbreviation: '7'
  '8':
    name: Graduated
    abbreviation: G
autoAdvanceYearWithMagicPlugin: true
chatWorlds:
- world
chatFormat: '&8(&r&b{yearab}&r&8) &8({house}&8) &r{prefix}&r &7{player}&7: {color}{message}'
houseChatFormat: '&d&l* &r&8[{house}&r&8] &7{player}&7: {color}{message}'
default_chatcolor: '&f'
hover_message: "Gender: {gender} \nBloodstatus: {bloodstatus}"
region_limits:
  hogsmeade:
    year: '3'
    message: '&cYou do not have permission to enter hogsmeade.'

2. floopowder.yml
YAML:
radiusToAllowFPEMenuFromFire: 4
startingFlooPowder: 0
defaultPrivatePrice: 5
flooNetworkItem:
- FLOWER_POT
inventory:
  buy:
    size: 3
    generated: true
    title: '&6&lBuy Floo Powder'
    slot:
      '11':
        amount: 50
        item: PAPER
        durability: 0
        title: '&650 Floo Powder'
        lore:
        - '&7Purchase 50 Floo Powder'
        - '&7for only 100 galleons.'
        - ''
        - '&aClick to purchase this item.'
        pricetype: galleons
        price: 100
      '13':
        amount: 100
        item: PAPER
        durability: 0
        title: '&6100 Floo Powder'
        lore:
        - '&7Purchase 100 Floo Powder'
        - '&7for only 190 galleons.'
        - ''
        - '&aClick to purchase this item.'
        pricetype: galleons
        price: 190
      '15':
        amount: 500
        item: PAPER
        durability: 0
        title: '&6500 Floo Powder'
        lore:
        - '&7Purchase 500 Floo Powder'
        - '&7for only 950 galleons.'
        - ''
        - '&aClick to purchase this item.'
        pricetype: galleons
        price: 950
  menu:
    size: 6
    item:
      title: '&6{location}'
      lore: &id001
      - '&7Click to use the floo network'
      - '&7to travel to &6{location}&7.'
      - '&f'
      - '&7Price: &6{price} floo powder'
      - '&f'
      - '&aClick to purchase this item.'
      titleapi:
        title: '&6{location}.'
        subtitle: ''
    private:
      item: ANVIL
      durability: 0
      title: '&6Private destinations'
      lore: *id001
      price: 10
    generated: true
    title: '&6&lFloo Network'
    slot:
      '0':
        item: GRILLED_PORK
        durability: 0
        pricetype: floopowder
        price: 15
        location:
          name: The Great Hall
          world: world
          x: 0
          y: 0
          z: 0
          yaw: 0
          pitch: 0

3. apparation.yml
YAML:
regionDiscoverMsg:
- region1
inventory:
  menu:
    size: 6
    item:
      title: '{permission} &r&6{location}'
      lore:
      - '&7Click to apparate'
      - '&7to &6{location}&7.'
      - '&f'
      - '&aClick to purchase this item.'
      titleapi:
        title: '&6{location}.'
        subtitle: ''
    generated: true
    title: '&6&lApparation'
    slot:
      '0':
        item: CHEST
        durability: 0
        wgRegionToDiscover: none
        location:
          name: Diagon Alley
          world: world
          x: 0
          y: 0
          z: 0
          yaw: 0
          pitch: 0

4. messages.yml
YAML:
prefix: '&6&lHarry Potter Economy &r&7> &r'
no_console: '&cError! &rOnly players can use this command.'
no_permission: '&cError! &rYou do not have permission!'
wrong_usage: '&cError! &rWrong usage!'
unknown_player: '&cError! &rPlayer not found!'
available_galleons: '&e&lGalleons: &r{galleons}'
available_floopowder: '&a&lFloo Powder: &r{floopowder}'
not_enough_money: '&cError! &rYou do not have enough money!'
not_enough_galleons: '&e&lGringots: &rYou do not have enough galleons in your vault!'
not_enough_floopowder: '&cError! &rYou do not have enough Floo Powder!'
player_offline: '&cError! &rThat player isn''t online.'
floopowder_bought: '&a&lSuccess! &rYou purchased some floo powder! You currently have
  {floopowder} Floo Powder.'
floopowder_tp: '&a&lSuccess! &rYou magically appeared on another place. {floopowder}
  Floo Powder remaining.'
reloading: '&aReloading all configuration files.'
reloaded: '&a&lSuccess! &rAll configuration files have been reloaded.'
galleonsChanged: '&e&lGringots: &rYour balance has been changed to {galleons}.'
galleonsChangedByYou: '&a&lSuccess! &rYou changed {player}''s galleons to {galleons}.'
floopowderChanged: '&a&lFloo Powder: &rYour Floo Powder amount has been changed to
  {floopowder}.'
floopowderChangedByYou: '&a&lSuccess! &rYou changed {player}''s amount of Floo Powder
  to {floopowder}.'
you_sorted: '&7You have been sorted into &b{house}&7! Congratulations!'
player_sorted: '&6{player} &7has been sorted into &6{house}&7!'
no_fire_in_radius: '&cError! &rNo fire could be detected within your range.'
addedFlooLocation: '&a&lSuccess! &rYou''ve added a new fireplace to the Floo Network!'
removedFlooLocation: '&a&lSuccess! &rYou''ve removed a fireplace from the Floo Network!'
setTpPoint: '&a&lSuccess! &rYou''ve set the teleportation point for a fireplace.'
no_target_block: '&cError! &rYou have to look at a block.'
addPortkey: '&a&lSuccess! &rYou''ve added a portkey (number: {number}).'
setTpLocation: '&a&lSuccess! &rYou''ve set the teleportation point for a portkey.'
removedPortkey: '&a&lSuccess! &rYou''ve removed that portkey.'
wrong_house: '&cError! &rYou have to use english house names. E.g: Gryffindor, Ravenclaw,
  Hufflepuff, Slytherin'
housepoints:
  sign:
    line0: '{house}'
    line1: '{points}'
    line2: ''
    line3: ''
housepointscmd:
  title: '&6&lHouse Points &r&7> Some more information.'
  line: '&a{count}. {house} ("{points}")'
housepoints_add: '&b{points} points &7have been added to {house}&7 for {message}!'
housepoints_remove: '&b{points} points &7have been removed from {house}&7 for {message}.'
housepoints_set: '{house}&7''s got &b{points} points &7now.'
good_taste: '&e&oHmmm... That''s delicious! I love {taste}!'
bad_taste: '&c&oBaaah... I''ve never eaten such a bad thing! I hate {taste}.'
no_license: '&cYou do not own an apparation license.'
apparation_tp: '&a&lSuccess! &rYou magically appeared on another place.'
cannot_apparate: '&eYou haven''t discovered that location yet.'
region_discovered: '&eYou''ve unlocked a new apparation point.'
addedApparation: '&a&lSuccess! &rYou''ve created a new apparation point.'
setTpPointApp: '&a&lSuccess! &rYou''ve set the teleportation point for an apparation
  point.'
you_advanced_year: '&6&lHeadmaster &r&7> &rCongratulations, you advanced to the {year}.'
player_advanced_year: '&6&lHeadmaster &r&7> &r&b{player} &radvanced to the {year}.'
chatcolor_changed: '&6&lHeadmaster &r&7> &r&b{player}''s &rchatcolor has been changed.'
housechat_toggled_on: '&6&lHeadmaster &r&7> &rYour house chat has been toggled on.'
housechat_toggled_off: '&6&lHeadmaster &r&7> &rYour house chat has been toggled off.'
player_taged: '&a&lSERVER_NAME Chat &r&7> &rYou''ve been mentioned in the chat by
  {player}.'
toggled_apparation:
  'on': '&aYou are now able to apparate! Fancy, isn''t it?'
  'off': '&cYou are no longer able to apparate! Sad story :(.'
action_completed: '&cAction completed!'
cancel: cancel
enter_private_destination: '&cEnter the name of the destination you''d like to reach.
  Enter "{cancel}" to cancel.'
already_entering_destination: '&cYou are already entering a destination!'
canceled_destination: '&cYou canceled your travel with the fire place network.'
unknown_error: '&cAn unknown error occured!'
destination_not_exists: '&cThat destination does not exists!'
bypassing_regionlimits: '&cYou are bypassing the region entry limits.'

5. playerdata.yml
Do not touch this file unless you know what you're doing!

6. portkey.yml
YAML:
inventory:
  menu:
    title: '&6&lPortkeys'

7. scoreboard.yml
YAML:
enabled_worlds:
- world
- world_nether
- world_the_end
update_interval: 15
title: '&6&lSERVER_NAME'
scoreboard:
- 'Online players: '
- '  &7{player_count}  '
- ' '
- 'Year:   '
- '  &7{year}    '
- '  '
- 'Gringots balance:     '
- '  &7{gringots_balance}      '
- '   '
- 'Floo Powder:       '
- '  &7{floopowder}        '
- '    '
- 'House:          '
- '  {house}          '

8. houses.yml
YAML:
house:
  gryffindor:
    name: '&4Gryffindor'
    abbreviation: '&cG'
    points: 0
  hufflepuff:
    name: '&eHufflepuff'
    abbreviation: '&eH'
    points: 0
  ravenclaw:
    name: '&9Ravenclaw'
    abbreviation: '&9R'
    points: 0
  slytherin:
    name: '&2Slytherin'
    abbreviation: '&2S'
    points: 0
  student:
    name: '&7Student'
    abbreviation: '&7S'

9. food.yml
YAML:
bertie_botts:
  name: '&cBertie Bott''s Every Flavour Beans flavours'
  item: MUTTON
  goodtaste:
  - peppermint
  badtaste:
  - troll_bogies
plate:
  amount: 5
  item: BREWING_STAND
  uses: 5
  food:
  - COOKED_CHICKEN
  - COOKED_RABBIT
  message: '&6&o&l{uses}/{max} &r&6Enjoy your {food}!'
  nouse: '&cWe''re currently out of food!'


9w5lh.png


1) Create a sign

2) Use [HousePoints] as your first line
3) Use the english name of your house on the second line. (e.g. Gryffindor, Hufflepuf, Ravenclaw, Slytherin)

Example:
[HousePoints]
Gryffindor

PlxZW.png

Some of this screenshots are outdated, most features aren't included in the pictures.

bQDCj.png
Up8F6.png
LEy6c.png
yUd0y.png
rMSN4.png
SXHsK.png
hYpca.png
e7nrh.png

dzN2O.png

This plugin has a built in API for developers with some methods to add, set and remove galleons/floopowder. You can use them by adding Harry Potter Economy to your project and after that you have use PlayerData.getInstance() and from there you can fetch all information about a player. There are also some events included:
HousePointsChangeEvent,
PlayerChangeHouseEvent and
PlayerPrivateFlooDestinationTeleportEvent.

Author

Bitfusion

Owner
Author
Bitfusion
Downloads
3
Type
Digital product
License duration
Unlimited
Price
$6.95
Views
823
First release
Last update
Rating
Not yet rated

More resources from Bitfusion

Auto-whitelist players on your server by redeeming keys! Not mentioning the awesome admin panel!
5.00 star(s) 4 ratings
54 purchases
Give a new look to your quests with GUI displayed objectives.
1.00 star(s) 1 ratings
7 purchases
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.