Mini faction

Discussion in 'Plugin Requests' started by Shamshamm, Apr 15, 2017.

Thread Status:
Not open for further replies.
  1. So i needed to add a faction plugin to my server , so i looked around for a bit and tested a few , but i couldn't find any who doesn't break my server

    (i have a few plugins reliant on worldguard and all the faction plugins i could find all had weird interactions with worldguard that cause my server to crash , create a bunch of invisible chunks and all kind of errors (because of the other plugins reliant on world guard) , so i thought , i might as well ask someone if they can make a custom mini faction plugin for me the way i wanted it from the start )

    So i'll try to be as descriptive as possible and add as many détails as i can think of, but if you think i missed Something feel free to ask me :3
    so here goes :

    I understand this is quite a big request but it'll bring you all the fame you deserve :3 (hopefully)
    (If it helps my server does have the CBWrapper plugin and i don't mind it being used as a dependency, of course WorldGuard is also a dependency)


    Misc stuff :

    plugin category
    : ... faction ?
    minecraft version : 1.11
    plugin name : mini faction
    when i want it : take your time c:


    Player commands :

    /f create <faction name>

    Creates a faction named <faction name>
    Details (open)
    Adds the player who used that command successfully as owner of <faction name>
    Can not create a faction with a <faction name> already used


    /f top (not necessary)

    Displays the top 10 factions
    Details (open)
    Factions are ranked by the total balance of all the players in the faction


    /f claim
    Claim the area around the player using it
    Super important details (open)
    Creates a WorldGuard region 7 blocks in each direction and from bedrock to y=255
    WorldGuard region id : <faction name>1/2/3/4/etc (claim number)
    New region has WorldGuard flag pvp deny (by default)
    Adds the player who used that command successfully as owner of the WorldGuard region
    Can only claim 4 (by default) times per members in the faction
    It is impossible to claim a part of an already existing WorldGuard region
    Only a faction owner can claim for his faction


    /f invite <player>
    Invites <player> to join the faction
    Details (open)
    If <player> accepts the invitation to join <faction name> it will add <player> as member in every <faction name> WorldGuard region


    /f unclaim <null | all>
    Unclaims the worldguard region you are standing in (or all)
    Important details (open)
    Can only unclaim a WorldGuard region claimed by your faction
    Only the faction owner can /f unclaim


    /f claims
    List the claims your faction owns as well as the coords of the center block of that claim (without the y value)

    /f delete
    Deletes a faction
    Important details (open)
    Removes every WorldGuard régions that the faction owned


    /f accept
    Accept a faction invitation

    /f reject
    Reject a faction invitation

    /f kick <player>
    Kicks <player> from your faction
    Details (open)
    Only faction owner can kick


    /f leave
    Leave a faction
    Important details (open)
    If a player leaves no claims will be unclaimed, but the number of available claims adjusts to fit the new member count
    (eg:
    - 2 members , 8 total claims available , 6 claims , 2 claims left
    -1 member 4 total claims available, 6 claims , 0 claims left )
    Same thing applies when a player is kicked
    You cannot leave if you are the owner of the faction


    /f addowner <player>
    Add <player> as an additional owner
    Details (open)
    Gives access to every owner command (eg: /f claim)


    /f resign
    Resign as Owner of a faction
    Details (open)
    Adds a random member as new owner if you were the only owner in the faction
    You can't /f resign if there is no other member


    /f home

    Teleport to your faction home

    /f sethome
    Set your faction home
    Details (open)
    Only an owner can set the faction home
    faction home is automatically set at the center of the first claimed region


    Op commands :

    /f claims <faction name>
    List the claims of <faction name>

    /f list
    List all the factions, the name of the owner and the number of members

    /f delete <faction name>
    Deletes <faction name> and all their claims

    /f reload
    Reloads the config

    Permissions :

    minifaction.create
    Access to /f create

    minifaction.claim
    Access to /f claim

    minifaction.claims

    Access to /f claims

    minifaction.claims.other

    Access to /f claim <faction name>

    minifaction.list

    Access to /f list

    minifaction.delete.other

    Access to /f delete <faction name>

    minifaction.reload

    Acess to /f reload

    minifaction.king
    doubles the amount of claims per member a faction can have if the owner has this permission
    adds + 1 max member (by default) if the owner has this permission

    minifaction.emperor
    quadruples the amount of claims per member a faction can have if the owner has this permission
    adds + 2 max member (by default) if the owner has this permission

    Config :

    #################
    #Plugin made by : you?#
    #################


    #Max members per faction
    #Owner(s) Included

    Members: 4

    #Max claims per member in the faction
    Claims: 4

    #Extra members for minifaction.king
    King: 1
    #Extra members for minifaction.emperor
    Emperor: 2

    #WorldGuard flags in each claim
    WorldGuard flags:
    -pvp : deny
    #-flag : allow/deny

    ####Display messages###

    Faction-created: 'You have created <faction name>'
    #Error message when name is already taken
    Faction-name 'That name is already used'

    Claim-successful: 'You have claimed the area around you, your faction has <claim amount> claims left'
    #Error message when you try to claim a WorldGuard region
    Claim-WorldGuard: 'You tried to claim a part of an existing region, try somewhere else'
    #Error message when you have no more claims left
    Claim-amount: 'You don't have any claims left'
    #Error message when a player that doesn't own a faction tries to claim
    Claim-owner: 'You must own a faction to claim'

    Unclaim-successful: 'You unclaimed the area around you, your faction now has <claim amount> claims available'
    Unclaim-all: 'You have unclaimed all your claims, your faction now has <claim amount> claims available'
    #Error message when you try to unclaim a region that does not belong to you
    Unclaim-unowned: 'Your faction does not own this land'
    #Error message when a player that doesn't own a faction tries to unclaim
    Unclaim-owner: 'You must own a faction to unclaim'

    Invite-successful: 'You invited <player> to join your faction'
    #Error when player is already in a faction
    Invite-faction: '<player> is already in a faction'
    #Error when a player that doesn't own a faction tries to invite
    Invite-owner: 'You must own a faction to invite'

    Leave: 'You left <faction name>'
    #Error message when owner tries to leave
    Leave-Owner: 'You cannot leave, you are the owner , try /f resign'

    Kick: 'You have kicked <player>'
    #Message sent to <player>
    Kick-player: 'You have been kicked from your faction'
    #Error message when you try to kick another owner
    Kick-owner: 'You cannot kick another owner'
    #Error message when you try to kick yourself
    Kick-self: 'You cannot kick yourself'
    #Error when someone who doesn't own a faction tries to kick
    Kick-own: 'You must own a faction to kick a player'

    Delete-successful: 'You have deleted your faction'
    #Message sent to other players
    Delete-players: 'The faction you were in has been deleted'

    Owner-successful: '<player> is now an owner of your faction'
    #Message sent to <player>
    Owner-player: 'You are now an owner of your faction'
    #Error message when target is already owner
    Owner-owner: '<player> is already an owner'
    #Error message when someone who doesn't own a faction tries to addowner
    Owner-own: 'You must own a faction to do that'

    Resign-successful: 'You have resigned as an owner, you are now a regular member'
    #Error message when a player who doesn't own a faction tries to resign
    Resign-own: 'You need to be an owner to resign'
    #Error message when the only owner tries to resign
    Resign-owner: 'You are the only owner left, try adding an other owner with/f addowner'

    Sethome-successful: 'You have moved your faction home'
    #Error message when a player who doesn't own a faction tries to set the faction home
    Sethome-owner: 'You must own a faction to use this command'
    #Error message when no faction home is found
    Home-none: 'Your faction does not have a home'
     
    Last edited by a moderator: Apr 15, 2017
Thread Status:
Not open for further replies.

Share This Page