SortingHat

This project has become inactive.

This project is inactive and its default file will likely not work with the most recent version of Minecraft. The author may have abandoned it, or it may have outlived its usefulness.

SortingHat Logo

SortingHat

This project has been marked as inactive. I've lost interest in developing it further and/or supporting it (it will be converted to an extension for HarryPotterSpells in the near future). If you have any questions regarding the project, please send me a PM (rather than commenting).



Which house do you belong in? Brave Gryffindor, kind Hufflepuff, clever Ravenclaw, or sly Slytherin? Find out with SortingHat, based off Harry Potter!

Simply type /sort, and you will be sorted!



Saving Players In Houses

There are two ways to "save" what players are in what house.

Permission Node

When sorted into a house, you the user will gain the house.<housename> permission node (i.e. house.hufflepuff).

Permission Group

When sorted into a house, the user will be added to the appropriate group (i.e. Hufflepuff). This can be used to create common rooms that only a certain house can access. Note that each house must have the accompanying permission node (i.e. house.hufflepuff in the HufflePuff group). Implemented in v1.1


Vault

SortingHat depends on Vault! I would recommend you get this plugin even if you do not intend to use this plugin.



To-Do:

  • Have the Sorting Hat take time to "decide", and speak to the user while deciding.
  • Add an option to save the sorted player data (flatfile)

"Issue": There is a minor "issue". Anyone with the '*' (all nodes) or /op WILL NOT be able to be sorted! This is because they will be detected as already sorted.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of LucasPiba LucasPiba Feb 25, 2014 at 22:58 UTC - 0 likes

    Does it sort you randomly?

  • Avatar of MrCobayo MrCobayo Jan 11, 2014 at 11:20 UTC - 0 likes
  • Avatar of MrCobayo MrCobayo Jan 11, 2014 at 11:20 UTC - 0 likes

    this is my config of GroupManager, for have permissions per house, all are good?

    1. Group inheritance
    2. Any inherited groups prefixed with a g: are global groups
    3. and are inherited from the GlobalGroups.yml.
    4. Groups without the g: prefix are groups local to this world
    5. and are defined in the this groups.yml file.
    6. Local group inheritances define your promotion tree when using 'manpromote/mandemote'

    groups: Default: default: true permissions: - -bukkit.command.kill inheritance: - g:groupmanager_default - g:bukkit_default - g:essentials_default - g:towny_default info: prefix: '&e' build: false suffix: '' Hufflepuff: default: false permissions: - house.hufflepuff inheritance: - default info: prefix: '' build: true suffix: '' Ravenclaw: default: false permissions: - house.ravenclaw inheritance: - default info: prefix: '' build: true suffix: '' Gryffindor: default: false permissions: - house.gryffindor inheritance: - default info: prefix: '' build: true suffix: '' Slytherin: default: false permissions: - house.slytherin inheritance: - default info: prefix: '' build: true suffix: '' Moderator: default: false permissions: [] inheritance: - builder - g:groupmanager_moderator - g:bukkit_moderator - g:essentials_moderator - g:towny_moderator - g:vanish_moderator info: prefix: '&5' build: true suffix: '' Admin: default: false permissions: [] inheritance: - moderator - g:groupmanager_admin - g:bukkit_admin - g:essentials_admin - g:towny_admin - g:vanish_admin info: prefix: '&c' build: true suffix: '' Owner: default: false permissions: - '*' - -vanish.* inheritance: - admin info: prefix: '&4' build: true suffix: ''

  • Avatar of TCM0n TCM0n Sep 15, 2013 at 06:52 UTC - 0 likes

    when i type /sort nothing happens im using 1.6.2

  • Avatar of Diaadb Diaadb Feb 17, 2013 at 00:21 UTC - 0 likes

    oh it saved lol ,thanks alot ;)

  • Avatar of Diaadb Diaadb Feb 16, 2013 at 21:11 UTC - 0 likes

    oh it worked ,thanks ,but if i type /sort again the house changes ,you should make it auto save the house for each player :)

  • Avatar of Diaadb Diaadb Feb 16, 2013 at 21:03 UTC - 0 likes

    i'm typing /sort ,nothing happens ,what should i do ?

  • Avatar of YoshiGenius YoshiGenius Dec 31, 2012 at 04:36 UTC - 0 likes

    @np98765: Go

    Maybe you could use a houses.yml with string lists for each house with the player names? Then you can bypass the "issue".

    Current Projects: Champions, AntiDrops & AntiDrops Legacy, MultiCurrency, QuickReply, RegionAPI

    In development:

    • Champs
    • CHKBLCK
    • SmartPlot

    Like what I do? Buy me something!

    Donate

  • Avatar of Vanndrake Vanndrake Sep 24, 2012 at 08:53 UTC - 0 likes

    @np98765: Go

    I believe there is a simple way to fix your issue :P Simply negate all the permissions from the other teams. Example : If he is chosen to grif negate all the other 3 :P

    Btw, contact me if you want to merge the grenades plugin

    Like my page for personal requests and updates on my plugins http://www.facebook.com/2BitJava or at http://www.2bitjava.pt.vu

  • Avatar of KaramelGuy KaramelGuy Sep 03, 2012 at 03:13 UTC - 0 likes

    Nice plugin np98765! YESSSS! I'm gonna name one of the houses...TEH WAFFLE EATERS!

    HOLY DERP! I LIKE KITTENS!

Facts

Date created
Aug 02, 2012
Categories
Last update
Aug 21, 2012
Development stage
Inactive
Language
  • enUS
License
GNU Lesser General Public License version 3 (LGPLv3)
Curse link
SortingHat
Downloads
1,660
Recent files

Authors