SortingHat
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.
I Can't Keep Off My Armour Help Me Please!
Does it sort you randomly?
@MrCobayo
sorry http://tny.cz/bfc80c3b
this is my config of GroupManager, for have permissions per house, all are good?
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: ''
when i type /sort nothing happens im using 1.6.2
oh it saved lol ,thanks alot ;)
oh it worked ,thanks ,but if i type /sort again the house changes ,you should make it auto save the house for each player :)
i'm typing /sort ,nothing happens ,what should i do ?
@np98765
Maybe you could use a houses.yml with string lists for each house with the player names? Then you can bypass the "issue".
@np98765
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
Nice plugin np98765! YESSSS! I'm gonna name one of the houses...TEH WAFFLE EATERS!
@Stickreid
Yep, soon there will be an option to rename houses as well as add your own.
@5un
Why thank you. :)
so You can change the names of the houses?? I'd like to add my own custom houses,
also can there be more than four groups?
This plugin would be WONDERFUL if you could do those two things I'm sure it would be a hit.
This plugin is fucking awesome
@BenjamiinNoR
Thank you. :)
This may soon be abandonded, because I'm implementing it into HarryPotterSpells - Although if people wish, I may keep this as a standalone.
The Sorting Hat! Nice!