Advertisement
Guest User

Untitled

a guest
Nov 10th, 2018
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.54 KB | None | 0 0
  1. * This plugin contains: InGame config, Config file, UHC scenarios, Scoreboard, Spectating system, Teams, Shrinking Borders, Stats (SQL) and more.
  2.  
  3. * If I don't answer here you can DM me on my twitter @TenHitss.
  4.  
  5. *Note: This plugin contains world creator but it does not load the chunks for you, there is a plugin called "World Border" which is loading chunks for you. There is an option to enable world border in the config.yml. To do it, download the plugin from Bukkit and set the section "using-world-border-plugin" to true.
  6. I Recommend using this version: https://dev.bukkit.org/projects/worldborder/files/906898
  7.  
  8. *This plugin is confirmed by the main developer of Venix.
  9.  
  10. *I want to give full credit to Badlion Network for all the amazing features they have created which I am using as well. (Scoreboard format, /scenarios, /config, /team list, /kc, /kt)
  11.  
  12. Spigot Staff: If you need a proof its confirmed by the network please PM me and I will give you proof for it.
  13.  
  14. * I will be more than happy to answer all your questions and support/add features.
  15.  
  16. *This plugin does not have CombatLogEntity but I sell a combat entity plugins. PM me for more info.
  17.  
  18. * Please contact me for any bug you find.
  19.  
  20. * If you need any help setting up the plugin please message me.
  21.  
  22. How to install the plugin:
  23.  
  24. 1. Download the plugin.
  25.  
  26. 2. Move it to your plugins folder.
  27.  
  28. 3. Restart your server and a folder called UHC will appear in the plugins folder. Open the UHC folder and open the config.yml file.
  29.  
  30. 4. Change the config.yml to your liking.
  31. In the config.yml don't forget to set "spawn-world-name:" to your spawn/lobby world name and don't forget to set "restart-command" to your server restart command.
  32.  
  33. 5. If you want to load the map chunks download a plugin called WorldBorder I recommend this version: https://dev.bukkit.org/projects/worldborder/files/906898
  34. In the config.yml set "using-world-border-plugin:" to true.
  35.  
  36. 6. Restart your server and everything is ready.
  37.  
  38.  
  39.  
  40.  
  41.  
  42. Stats:
  43.  
  44. *Stats requires SQL to work, its NOT gonna work without it.
  45.  
  46. To enable stats:
  47.  
  48. Code (Text):
  49. stats:
  50.  
  51. enabled: false
  52. SQL:
  53. ip: localhost
  54. database: databasehere
  55. table: tablenamehere
  56. user: userforDatabase
  57. password: passForUser
  58.  
  59. First set enabled to true.
  60.  
  61. Then fill all the SQL details
  62. Your SQL database IP.
  63. Your SQL database name.
  64. Table could be whatever you want. I recommend "uhc_stats".
  65. Your SQL database username.
  66. Your SQL database password.
  67.  
  68.  
  69.  
  70. Scoreboard:
  71.  
  72. The scoreboard contains:
  73.  
  74. InGame FFA scoreboard:
  75. -------------------------------------------
  76. "Title" - You can change it in the config.yml.
  77.  
  78. "Time" - The time since the game started.
  79.  
  80. "Players Alive" - The amount of players alive.
  81. "Spectators" - The amount of spectators.
  82.  
  83. "Your Kills" - The amount of kills you have.
  84.  
  85. "Border" - The current border size.
  86. "IP" - You can change it in the config.yml.
  87. -------------------------------------------
  88.  
  89. InGame Teams scoreboard:
  90. -------------------------------------------
  91. "Title" - You can change it in the config.yml.
  92.  
  93. "Time" - The time since the game started.
  94.  
  95. "Players Alive" - The amount of players alive.
  96. "Teams Alive" - The amount of teams alive.
  97. "Spectators" - The amount of spectators.
  98.  
  99. "Your Kills" - The amount of kills you have.
  100. "Team Kills" - The amount of kills your team has.
  101.  
  102. "Border" - The current border size.
  103. "IP" - You can change it in the config.yml.
  104. -------------------------------------------
  105.  
  106. Waiting Lobby Scoreboard:
  107. -------------------------------------------
  108. "Title" - You can change it in the config.yml.
  109.  
  110. "Players Online" - The amount of players online.
  111. "> Host:" - The game host.
  112. "Type" - The game type, for example FFA, To2, To3.
  113.  
  114. "IP" - You can change it in the config.yml.
  115. -------------------------------------------
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122. [​IMG]
  123.  
  124. Format: /command <arguments> (permission) - Description.
  125.  
  126. 1. /killtop, /kt - To display the top 10 killers of the game.
  127.  
  128. 2. /recreatemap (uhc.createuhc) - Use this command if you don't like the map that was generated. (If you don't like 0, 0 and you want a new map.)
  129.  
  130. 3. /game <add/remove> <player> (uhc.addfriend) - Use this command if you would like to add 1 friend to the game (donator perk).
  131.  
  132. 4. /h <player> - Use this command to see other players health.
  133.  
  134. 5. /helpop <message> - This command sends a message to all the moderators/host in the game. To add a moderator use the /mod command.
  135.  
  136. 6. /host <add/remove> <player> (uhc.host) - Use this command to set or unset someone as host. You can only have 1 host!.
  137.  
  138. 7. /invsee <player> (Host/Mod) - Use this command to view someone's inventory. Must be host/mod to use this command!.
  139.  
  140. 8. /armour <player> (Host/Mod) - Use this command to view someone's equipped armour. Must be host/mod to use this command!.
  141.  
  142. 9. /killcount, /kc <player> - Use this command to see how many kills/team kills the specified player has.
  143.  
  144. 10. /list - Lists: Players online, host, moderators, players alive and spectators.
  145.  
  146. 11. /mod <add/remove> <player> (uhc.mod) - Use this command to add/remove someone from the moderators list.
  147.  
  148. 12. /rescatter (uhc.rescatter) - This command re-scatter's a player. This command can only be used once in the first 30 seconds of the game. (donator perk).
  149.  
  150. 13. /respawn <player> (uhc.respawn.command or Host/Mod) - This command is used to respawn a player if he died to a hacker or any reason.
  151.  
  152. 14. /latescatter <player> (uhc.revive or Host/Mod) - This command is used to add a specific player to the game.
  153.  
  154. 15. /specchat <message> (Host/Mod) - This command sends a message to all the spectators in the game. Must be host/mod to use this command.
  155.  
  156. 16. /spectator <add/remove> <player> (Host/Mod) - This command adds a player to the spectators list. Must be host/mod to use this command.
  157.  
  158. 17. /startuhc (uhc.start or HOST) - This command starts the UHC.
  159.  
  160. 18. /stats <player> - To view someone's statistics.
  161.  
  162. 19. /stopuhc (uhc.stop or HOST) - This command stops the UHC.
  163.  
  164. 20. /whitelist <add/remove/on/off/clear/all> - This command controls the whitelist.
  165.  
  166. 21. /border <size> - Manually shrinks the border (In game use).
  167.  
  168. 22. /ismapgenerated (Permission: uhc.checkmap) to check if the map was generated or not. (WorldBorder only)
  169.  
  170. - You can now use /latescatter <player> to scatter players. (Host and mods.)
  171.  
  172. /scenarios - Explained below.
  173.  
  174. /config - Explained below.
  175.  
  176.  
  177.  
  178. [​IMG]
  179.  
  180. Command:
  181. /config - to view the config.
  182. /config <configType> <true/false/number> (uhc.config or HOST) - To change a config value.
  183.  
  184. For example - /config applesrate 3 - That will make the apples rate 3%
  185. Or /config nether false - That will disable the nether.
  186.  
  187. Config values:
  188. Numbers:
  189. MAXPLAYERS
  190. BORDERSHRINKTIME
  191. HEALTIME
  192. PVPTIME
  193. STARTERFOOD
  194.  
  195. True/False:
  196. NETHER
  197. STRENGTH1
  198. STRENGTH2
  199. INVISIBILITYPOTIONS
  200. REGENERATIONPOTIONS
  201. ENDERPEARLDAMAGE
  202. ABSORPTION
  203. GODAPPLES
  204. HORSES
  205. HORSEHEALING
  206. HORSEARMOUR
  207. HEADPOST
  208. GOLDENHEADS
  209. NATURALREGENERATION
  210.  
  211. Picture:
  212.  
  213. [​IMG]
  214. [​IMG]
  215.  
  216.  
  217.  
  218. [​IMG]
  219.  
  220. Commands:
  221. /scenarios - For all the enabled scenarios.
  222. /scenario <scenario> <enable/disable> (uhc.scenario or HOST) - To enable/disable a scenario.
  223. /scenario <listall> (uhc.scenario or HOST) - Opens a GUI with all the scenarios. Click the Item to enable/disable.
  224. /backpack - A Team scenario to open a team inventory.
  225. /extrainventory - A scenario to open an extra inventory.
  226.  
  227.  
  228. Scenarios:
  229. CutClean: Ores drop smelted., Food drop cooked. Flint, Leather and Feathers, drop rates are 100%
  230.  
  231. RiskyRetrieval: All the gold/diamonds you mine, will go to the enderchest which is placed in 0,0.
  232.  
  233. TripleOres: Food and ores are tripled when mined / harvested. All TripleOres games are CutClean.
  234.  
  235. BareBones: Enchantment tables/Anvils can't be crafted or used, Golden apples can't be crafted either. The Nether is disabled. Players drop 1 Diamond, 2 Golden apples, 32 Arrows and 2 String on death.
  236.  
  237. TimeBomb: When player dies, their loot will drop into a chest. After 30s, the chest will explode.
  238.  
  239. ExtraInventory: Use - /extrainv - To open your extra inventory.
  240.  
  241. NoFallDamage: You cannot take fall damage.
  242.  
  243. Fireless: You cannot take fire damage.
  244.  
  245. Soup: Mushroom Stew heals 2 hearts.
  246.  
  247. BackPacks: Use - /backpack - To open the team inventory.
  248.  
  249. Diamondless: You cannot mine diamonds. Players drop 1 diamond on death.
  250.  
  251. Goldless: You cannot mine gold. Players drop 8 gold on death.
  252.  
  253. Bowless: Bows cannot be crafted/used.
  254.  
  255. Rodless: Fishing rods cannot be crafted/used.
  256.  
  257. Vanilla+: Flint and Apple rates are up.
  258.  
  259. Timber: Break the whole tree by breaking 1 block.
  260.  
  261. GoldenRetriever: Players drop 1 golden head on death.
  262.  
  263. BloodDiamonds: Every time you mine diamonds, you take 0.5 heart of damage.
  264.  
  265. Switcheroo: Every time you shoot someone with a bow, you both switch your current locations.
  266.  
  267. GoneFishing: You start with 64 anvils, infinite levels, and a fishing rod with luck of the sea 250.
  268.  
  269. LuckyLeaves: There is a small chance of a golden apple to drop from trees.
  270.  
  271.  
  272.  
  273. [​IMG]
  274.  
  275. This is an example of our configuration:
  276.  
  277. Code (Text):
  278.  
  279. DO-NOT-TOUCH:
  280. wmu: false
  281. wrs: false
  282. settings:
  283. name: VenixUHC
  284. version: 3.0
  285. restart-command: /restart
  286. uhc-prefix: '&7[&5VenixUHC&7]&r'
  287. border-prefix: '&7[&5Border&7]&r'
  288. config-prefix: '&7[&5Config&7]&r'
  289. helpop-prefix: '&7[&5HelpOp&7]&r'
  290. teams-prefix: '&7[&5Teams&7]&r'
  291. host-prefix: '&4[Host]&b'
  292. moderator-prefix: '&2[UHC-Mod]&b'
  293. spectator-prefix: '&5[Spectator]&e'
  294. main-chat-color: GOLD
  295. secondary-chat-color: AQUA
  296. uhc-world-name: uhc_world
  297. spawn-world-name: spawn
  298. spawnLocation:
  299. x: 0
  300. y: 6
  301. z: 0
  302. default-map-size: 2000
  303. random-border-shrink-at-and-below: 500
  304. starter-food-item: COOKED_BEEF
  305. kill-player-on-quit-after-minutes: 10
  306. helpop-cooldown-seconds: 10
  307. kick-player-on-death: true
  308. kick-player-on-death-message: '&bYou died in the UHC, thanks for playing!'
  309. kick-on-death-after-seconds: 25
  310. restart-on-game-finish: true
  311. using-world-border-plugin: true
  312. load-chunks-per-second: 120
  313. restart-on-chunk-load-finish: true
  314. scoreboard:
  315. scoreboard-title: '&5VenixUHC'
  316. scoreboard-ip: '&a@TheVenixNetwork'
  317. stats:
  318. enabled: false
  319. SQL:
  320. ip: localhost
  321. database: db
  322. table: uhc_stats
  323. user: username
  324. password: pass
  325.  
  326.  
  327. [​IMG]
  328.  
  329. Commands:
  330.  
  331. /teams reset (uhc.teams.edit or HOST) - To reset all teams.
  332. /teams true (uhc.teams.edit or HOST) - To enable teams.
  333. /teams false (uhc.teams.edit or HOST) - To disable teams.
  334. /teams damageteam <true/false> (uhc.teams.edit or HOST) - To enable/disable team damage (Ability to damage your team members).
  335. /teams size (size) (uhc.teams.edit or HOST) - To change the teams max size.
  336. /team create - To create a team.
  337. /team solo - To be alone in your own team.
  338. /team invite <player> - To invite a player to your team.
  339. /team accept - To accept the most recent team invitation.
  340. /team deny - To deny the most recent team invitation.
  341. /team leave - To leave your current team.
  342. /team kick <player> - To kick a player from your team.
  343. /team list <player> - To list someone's team.
  344. /teamchat <message> - To send a message in the team chat.
  345. /teamchat toggle - To toggle team chat and enable/disable it as your default chat.
  346. /sendcoords - To send your coords to your team.
  347.  
  348.  
  349.  
  350. [​IMG]
  351.  
  352. The permission nodes for the commands are in the "Commands" section.
  353.  
  354. Some other permissions:
  355. Open inventory on right-click when spectating: "uhc.spec.openinv"
  356. Spectate on death: "uhc.spectate"
  357. Spectate on late join: "uhc.spectate"
  358. Late scatter on join: "uhc.joinlate"
  359. Join when map is generating: "uhc.join.on.map.generation"
  360. Whitelist bypass: "uhc.whitelist.bypass"
  361. Max players bypass: "uhc.maxplayers.bypass"
  362.  
  363. * Please note the "Max players" in config does not override the actual server max players!!!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement