ok so before i start going into detail about this let me tell you what it is in general
so i need a plugin somewhat based around coc and towny
So you start out with 2000 dollars and no way of building anywhere but your base but in order to get a base you need to go out and find a emerald block once you find one you stand on it and do /B:Base create [Base Name] you could do either /b or /base for this or anything to do with this plugin now you just created your base slowly it generates a Townhall Which will look similar buildings that look very similar to the townhalls in Clash of clans, trees spawn on the sides of your townhall a pond of water a middle area with a 4 way path one to the townhall the other 3 to other buildings that players can buy to add on. so now you have your base your mine your three way middle area but theres nothing there yet you have to buy additional buildings to add on the 3 way area. now this is where jobs come in and help you get money there will be many jobs Such as woodcutter, Farmer, fisherman, weapon smith, brewer, enchanting, hunter, and hitman
now you did your jobs and your earning money and you suddendly find this gold block in the middle of this 4 way path (iforgot to add this earlier) you right click it and it brings up a chest gui With a cobble stone in the middle named "walls" you see its cost 2000 and you have 2000 you click it and now your base is surrounded with walls (not your just your townhall everything will show pics later) and now you get a message that pops up in your chat bar (i want this to just tell the character that just got walls this message not server wide) Seems like you upgraed your walls you know you can also do /b:base manage to upgrade other things" you do /c manage and a chest gui pops up with a paper in the middle witht eh name Base stats and below that is shows your townhall level (this will go all the way up to 11) Pathway 1: [building on pathway one along with lvl] pathway 2:[building on pathway one along with lvl] pathway 3: [building on pathway one along with lvl] on the left of that paper is a green wool saying upgrade your buildings and it shows a gui of all building but lets say you dont have them all itll still show them all but it wont let you upgrade them also since i want them to still be able to change the building type there the lapis on the start of the new path way all you have to do is right click the lapis look at the buildings that pop up in the chest gui and pick one have it take away that specific amount from your base now heres something that could start another thing but ill explain it quickly when generating a building it doesnt take away from your balance just when you first start a base (when your standing on a emerald block about to create a new base) but when you have a base you do /b:base pay [amount] so lets say theres a command block room (not a thing here) it cost 50,000 i do /b:base pay 50,000 or how ever much i want to put in my base and thats how you pay for buildings being generated through your base balance not your balance. so now you have this command block room now this is where /b:base manage comes in also keep in mind we have walls too as well as a townhall and a mine. so i could upgrade either one of those. so lets say i want to upgrade my walls i would do /c manage go to upgrade buildings and go to walls and now another gui pops up with all the levels possible so for walls theres 9 possible ones but you have to buy one to unlock the other so i just bought the wall upgrade again it takes away from your base balance not yours now the walls change to its new upgraded form so ex it would go from being wood to like cobble or stone. now also a storage room the walls and bunker all need to have a block that acts like a keypad so you would have to set a pin to access that room (ill talk about how to set a pin later on) for the walls it would generate like a gate that can be closed or opened with this pin now we also have a mine now the mine upgrades too just not alone by its self it upgrades along with the townhall so i upgrade to th2 from 1 to 2 the mine upgrades from cobblestone and 2-3 pieces of iron and 5 pieces of coal to a 1 block bigger mine from all four sides but not down the height will only be 3 untill later it will be upgraded every even townhall number so th2 th4 th6 th8 and then here till th11 it will upgrade everytime so th2 th4 th6 th8 th9 th10 th11 so 7 levels of mines ok so now lets go section by section
JOBS
to get these commands to pop up the player would have to do /jobs help:h
These are the type of jobs avalible ans as our xp lvl bar goes up and lvls up so will the jobs and when they uppgrade it will pay them 1 dolllar more
Woodcutters: They get paid $5 for every TREE they cutdown just the tree not placing wood and cutting that down just the tree. and every time they lvl up they get paid 1 more dollar then usual so im a lvl 5 woodcutter i would get 10 dollars per tree im a lvl 30 wood cutter i get paid 35 per tree
Farmer:
For this Everytime a player break a crop from potato to wheat it will give you 50 cents and every level up it will give you 50 cents more
Weapon smith: everytime someone repairs a pickaxe a axe a shovel anything a sword the player is going to get 2 dollars and increase by 50 cents every lvl
brewer will not be a job
enchanter will not be a job
hunter: every hostile mob you kill you will receive 2 dollars and 50 cents increments and every friendly mob you will receive 1 with the same increment
Hitman: every player they kill they will receive 2 dollars and increments of 1 dollar per lvl
only time players will kill each other is when at war.
Permissions
jobs.help (allows players to do /jobs help:h)
jobs. woodcutter (allows players to get the job wood cutter)
jobs.farmer
jobs.weaponsmith
jobs.hunter
jobs.hitman
Base Plugin
Lapis blocks
Let players buy their own buildings such as a pig farm a chicken farm a cow farm a bunker that will require a keypad code to enter a stable for horses you can buy from the shop a storage room to add storage
/b:/base
Commands
/b:base create (creates a Base)
/b:base invite (invite a player to your base)
/b:base kick (kicks a player from your base)
/b:base home (teleport to Base home)
/b:base sethome (set home for your base)
/b:base pay (add money to your base balance (used to purchase buildings from the lapis block))
/b:base leave (leave your base) [this is only if there is someone still left in the base after they leave]
/b:base info
Format for /b:base info
----=Info-(basename)=----
Owner: (owner of base)
Base bal: (base bal)
chiefs: (Chiefs of base)
Members:
-(Member1)
-(member2)
[There can be as any members]
Online-
-(Members online)
/b:base help (#) [#of help Page
/b:base disband [if there is still more members then one kicks them all out and base bal goes to the owner i also want it to broadcast that the base was disband
/b:base Manage [Chest gui showing upgrades and downgrades when downgrading it returns half of what the upgrade cost when upgrading the old build is upgraded from cow farms to pig farms storage rooms bunkers
/b:base addchief makes a player a chief so he can buy buildings invite others and also kick other players in your base
/b:base setpin (set pin for keypads base wide)
/b:base war (other base name) for a war to start there has to be at least two players online in each base and when they execute that command the base they challenged will get a message that says "(other base) you have been challenged by (basename) to war accept with /b:base war accept or decline with /b:base war decline"
/b:base war accept
/b:base war decline
/b:base admin on: off (allows admins and owners edit other peoples base weather as a punishment or they have a illegal item
Permissions
Base.war (gives player access to /b:base war accept/decline /b:base war (other base)
Base.manage (chest gui to upgrade other stuffs too such as a pig farm, cow farm , bunker etc as well as downgrade but when you downgrade you only get 50 percent of what the upgrade cost)
Base.create.* (give access to all commands except admin commands)
War
i just realized i didnt explain war so when at war a player challenges another base to war which is basically a pvp war vs players online lets say one base has 1 person online and the other has 3 the one with 1 person challenged the 3 person base the war challenge will not be sent to start a war both clans must have at least 2 players online ok now lets say one base has 2 players and the other has 5 players online the 2 base one challenges the 5 player one the invitation will not be sent because the maximum the other base can have if a base only has two the other base can only have 4 people on and when the war does start
both bases only have 5 min to prepare for two fights one fight at one base the other fight at the other base raiding & killing will be involved for preperation both bases will spend 2.5 min at their base gathering recourses and the other 2.5 min in a war room where both sides are seperated and have to get geared up for one fight they put the other gear for the next fight in a chest and once they are over with the first fight they have 2 more min to put their winings into that chest and get their other gear if they feel like getting it and go fight for the last fight winning is based off of destroying the block of nugget wisdom which is in the middle of your townhall once thats destroyed the players can respawn anymore and once theyre all dead that side that won got a point same for the other side if its a tie its a tie everyone goes home with their winnings and the people that lost their stuff lost their stuff time to try again
Keypads
so keypads protect your base bunker when you right click the block (which is a redstonelamp) it opens a chest gui with a keypad looking pad
to set a pin do /b:base setpin [pin#] when you put in the wrong pin i want the redstone lamp to flash and if they get it right i want it to just light up untill they open the door and close it also for doors the pad needs to be next to the door and it has to be a iron door so i have a iron door next to a pad i put in the right pin the restonelamp lights up and it opens the door to close the door you have to right click the redstonelamp again but this time instead of opening th chest gui it closes the door and turns off the light
Mines
so if you read that long long message above you saw it comes with a mine so the mine as i explained a bit before i think it upgrades every 2 townhalls and at the last three it upgrades everytime with the townhall i just dont want to be on the server every time someone joins ad set up a mine for every new player i just want it to regenerate it by its self so i do /b:base create and it comes with all that i mentioned and the mine will be small for the first townhall and expand one block every upgrade
Config
so for the config i want to be able to edit the prefix from the messages it sends people like normaly make it say '[Base]' but i want to go and edit it to maybe like '&8[&bBelow&fZero&8]'
so instead of it saying
[Base](basename) Has challenged you to war you can accept with /B:base accept or decline with /b:base Decline
i also want the messages to be able to be edited so i can change it to like you have been challenged to war and have variables like '%opposingbasename%' '%basename%' and stuff so i can edit messages like '&8[&bBelow&fZero&8] %opposingbasename% has Challenged you to war you can accept with /B:base accept or decline with /b:base Decline'
or
'&8[&bBelow&fzero&8] Your new base name is %basename% and any other variables that you may think i will need to customize those messages to my likings if you need anymore information please contact me via skype
oh aslo i forgot the buildings that will be able to be build on the lapis are Storage room, Horse Stables, ChickenFarm,pig farm, cow farm, crafting shed, wheat farm, Bunker
so i need a plugin somewhat based around coc and towny
So you start out with 2000 dollars and no way of building anywhere but your base but in order to get a base you need to go out and find a emerald block once you find one you stand on it and do /B:Base create [Base Name] you could do either /b or /base for this or anything to do with this plugin now you just created your base slowly it generates a Townhall Which will look similar buildings that look very similar to the townhalls in Clash of clans, trees spawn on the sides of your townhall a pond of water a middle area with a 4 way path one to the townhall the other 3 to other buildings that players can buy to add on. so now you have your base your mine your three way middle area but theres nothing there yet you have to buy additional buildings to add on the 3 way area. now this is where jobs come in and help you get money there will be many jobs Such as woodcutter, Farmer, fisherman, weapon smith, brewer, enchanting, hunter, and hitman
now you did your jobs and your earning money and you suddendly find this gold block in the middle of this 4 way path (iforgot to add this earlier) you right click it and it brings up a chest gui With a cobble stone in the middle named "walls" you see its cost 2000 and you have 2000 you click it and now your base is surrounded with walls (not your just your townhall everything will show pics later) and now you get a message that pops up in your chat bar (i want this to just tell the character that just got walls this message not server wide) Seems like you upgraed your walls you know you can also do /b:base manage to upgrade other things" you do /c manage and a chest gui pops up with a paper in the middle witht eh name Base stats and below that is shows your townhall level (this will go all the way up to 11) Pathway 1: [building on pathway one along with lvl] pathway 2:[building on pathway one along with lvl] pathway 3: [building on pathway one along with lvl] on the left of that paper is a green wool saying upgrade your buildings and it shows a gui of all building but lets say you dont have them all itll still show them all but it wont let you upgrade them also since i want them to still be able to change the building type there the lapis on the start of the new path way all you have to do is right click the lapis look at the buildings that pop up in the chest gui and pick one have it take away that specific amount from your base now heres something that could start another thing but ill explain it quickly when generating a building it doesnt take away from your balance just when you first start a base (when your standing on a emerald block about to create a new base) but when you have a base you do /b:base pay [amount] so lets say theres a command block room (not a thing here) it cost 50,000 i do /b:base pay 50,000 or how ever much i want to put in my base and thats how you pay for buildings being generated through your base balance not your balance. so now you have this command block room now this is where /b:base manage comes in also keep in mind we have walls too as well as a townhall and a mine. so i could upgrade either one of those. so lets say i want to upgrade my walls i would do /c manage go to upgrade buildings and go to walls and now another gui pops up with all the levels possible so for walls theres 9 possible ones but you have to buy one to unlock the other so i just bought the wall upgrade again it takes away from your base balance not yours now the walls change to its new upgraded form so ex it would go from being wood to like cobble or stone. now also a storage room the walls and bunker all need to have a block that acts like a keypad so you would have to set a pin to access that room (ill talk about how to set a pin later on) for the walls it would generate like a gate that can be closed or opened with this pin now we also have a mine now the mine upgrades too just not alone by its self it upgrades along with the townhall so i upgrade to th2 from 1 to 2 the mine upgrades from cobblestone and 2-3 pieces of iron and 5 pieces of coal to a 1 block bigger mine from all four sides but not down the height will only be 3 untill later it will be upgraded every even townhall number so th2 th4 th6 th8 and then here till th11 it will upgrade everytime so th2 th4 th6 th8 th9 th10 th11 so 7 levels of mines ok so now lets go section by section
JOBS
to get these commands to pop up the player would have to do /jobs help:h
These are the type of jobs avalible ans as our xp lvl bar goes up and lvls up so will the jobs and when they uppgrade it will pay them 1 dolllar more
Woodcutters: They get paid $5 for every TREE they cutdown just the tree not placing wood and cutting that down just the tree. and every time they lvl up they get paid 1 more dollar then usual so im a lvl 5 woodcutter i would get 10 dollars per tree im a lvl 30 wood cutter i get paid 35 per tree
Farmer:
For this Everytime a player break a crop from potato to wheat it will give you 50 cents and every level up it will give you 50 cents more
Weapon smith: everytime someone repairs a pickaxe a axe a shovel anything a sword the player is going to get 2 dollars and increase by 50 cents every lvl
brewer will not be a job
enchanter will not be a job
hunter: every hostile mob you kill you will receive 2 dollars and 50 cents increments and every friendly mob you will receive 1 with the same increment
Hitman: every player they kill they will receive 2 dollars and increments of 1 dollar per lvl
only time players will kill each other is when at war.
Permissions
jobs.help (allows players to do /jobs help:h)
jobs. woodcutter (allows players to get the job wood cutter)
jobs.farmer
jobs.weaponsmith
jobs.hunter
jobs.hitman
Base Plugin
Lapis blocks
Let players buy their own buildings such as a pig farm a chicken farm a cow farm a bunker that will require a keypad code to enter a stable for horses you can buy from the shop a storage room to add storage
/b:/base
Commands
/b:base create (creates a Base)
/b:base invite (invite a player to your base)
/b:base kick (kicks a player from your base)
/b:base home (teleport to Base home)
/b:base sethome (set home for your base)
/b:base pay (add money to your base balance (used to purchase buildings from the lapis block))
/b:base leave (leave your base) [this is only if there is someone still left in the base after they leave]
/b:base info
Format for /b:base info
----=Info-(basename)=----
Owner: (owner of base)
Base bal: (base bal)
chiefs: (Chiefs of base)
Members:
-(Member1)
-(member2)
[There can be as any members]
Online-
-(Members online)
/b:base help (#) [#of help Page
/b:base disband [if there is still more members then one kicks them all out and base bal goes to the owner i also want it to broadcast that the base was disband
/b:base Manage [Chest gui showing upgrades and downgrades when downgrading it returns half of what the upgrade cost when upgrading the old build is upgraded from cow farms to pig farms storage rooms bunkers
/b:base addchief makes a player a chief so he can buy buildings invite others and also kick other players in your base
/b:base setpin (set pin for keypads base wide)
/b:base war (other base name) for a war to start there has to be at least two players online in each base and when they execute that command the base they challenged will get a message that says "(other base) you have been challenged by (basename) to war accept with /b:base war accept or decline with /b:base war decline"
/b:base war accept
/b:base war decline
/b:base admin on: off (allows admins and owners edit other peoples base weather as a punishment or they have a illegal item
Permissions
Base.war (gives player access to /b:base war accept/decline /b:base war (other base)
Base.manage (chest gui to upgrade other stuffs too such as a pig farm, cow farm , bunker etc as well as downgrade but when you downgrade you only get 50 percent of what the upgrade cost)
Base.create.* (give access to all commands except admin commands)
War
i just realized i didnt explain war so when at war a player challenges another base to war which is basically a pvp war vs players online lets say one base has 1 person online and the other has 3 the one with 1 person challenged the 3 person base the war challenge will not be sent to start a war both clans must have at least 2 players online ok now lets say one base has 2 players and the other has 5 players online the 2 base one challenges the 5 player one the invitation will not be sent because the maximum the other base can have if a base only has two the other base can only have 4 people on and when the war does start
both bases only have 5 min to prepare for two fights one fight at one base the other fight at the other base raiding & killing will be involved for preperation both bases will spend 2.5 min at their base gathering recourses and the other 2.5 min in a war room where both sides are seperated and have to get geared up for one fight they put the other gear for the next fight in a chest and once they are over with the first fight they have 2 more min to put their winings into that chest and get their other gear if they feel like getting it and go fight for the last fight winning is based off of destroying the block of nugget wisdom which is in the middle of your townhall once thats destroyed the players can respawn anymore and once theyre all dead that side that won got a point same for the other side if its a tie its a tie everyone goes home with their winnings and the people that lost their stuff lost their stuff time to try again
Keypads
so keypads protect your base bunker when you right click the block (which is a redstonelamp) it opens a chest gui with a keypad looking pad
Mines
so if you read that long long message above you saw it comes with a mine so the mine as i explained a bit before i think it upgrades every 2 townhalls and at the last three it upgrades everytime with the townhall i just dont want to be on the server every time someone joins ad set up a mine for every new player i just want it to regenerate it by its self so i do /b:base create and it comes with all that i mentioned and the mine will be small for the first townhall and expand one block every upgrade
Config
so for the config i want to be able to edit the prefix from the messages it sends people like normaly make it say '[Base]' but i want to go and edit it to maybe like '&8[&bBelow&fZero&8]'
so instead of it saying
[Base](basename) Has challenged you to war you can accept with /B:base accept or decline with /b:base Decline
i also want the messages to be able to be edited so i can change it to like you have been challenged to war and have variables like '%opposingbasename%' '%basename%' and stuff so i can edit messages like '&8[&bBelow&fZero&8] %opposingbasename% has Challenged you to war you can accept with /B:base accept or decline with /b:base Decline'
or
'&8[&bBelow&fzero&8] Your new base name is %basename% and any other variables that you may think i will need to customize those messages to my likings if you need anymore information please contact me via skype
oh aslo i forgot the buildings that will be able to be build on the lapis are Storage room, Horse Stables, ChickenFarm,pig farm, cow farm, crafting shed, wheat farm, Bunker
