Advertisement
Guest User

Untitled

a guest
Sep 8th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.34 KB | None | 0 0
  1. ==========================================================
  2.  
  3. CRITICAL UHC PLUGIN
  4.  
  5. =========================================================
  6.  
  7.  
  8. PRICES
  9. ◆ Source: €30
  10. ◆ Jar: €20
  11.  
  12. Want re-sell rights?
  13. Re-sell rights are €100
  14.  
  15. Proof of owner ship
  16. http://prntscr.com/ks1z58
  17.  
  18. Contact Informations
  19. ϟ Discord: Activated_#1539
  20. ϟ Telegram: Activated99
  21.  
  22. Plugin was tested on 100+ players without any lagg or isues.
  23. It is very optmized and highly recommended.
  24.  
  25. Terms and Conditions:
  26.  
  27. ◆ Do not resell the plugin or the sourcecode
  28. ◆ No refund of the plugin or sourcecode
  29. ◆ The plugin will have updates to add new things
  30. ◆ You can not publish the plugin or the source code anywhere
  31.  
  32. By purchasing the plugin you accept these terms and conditions
  33.  
  34. ABOUT PLUGIN
  35.  
  36. Default Configuration
  37. [SPOILER="Configuration"]
  38. mongo:
  39. username: 'UsernameMongo'
  40. password: 'PasswordMongo'
  41. database: 'DataBaseMongo'
  42. host: 'hostMongo'
  43. port: 25565
  44. bungee: false
  45. prefix: '&8[&6&lUHC&8] '
  46. border: '&8[&6Border&8] '
  47. team: '&8[&6Party&8] '
  48. mob_spawning:
  49. while_map_gen: false
  50. while_lobby: false
  51. while_game: true
  52. map_generator: 'TerrainControl'
  53. restart_command: 'restart'
  54. map_used: true
  55. worlds:
  56. uhc: uhc_world
  57. nether: uhc_world_nether
  58. scoreboard_title: '&6&lFate &7<I> &cUHC'
  59. store: 'store.fateuhc.com'
  60. server_ip: 'fateuhc.com'
  61. teamspeak_ip: 'ts.fateuhc.com'
  62. join_message:
  63. - '&c&m--------------------------'
  64. - '&cWelcome &6<player> &cto &6FateUHC'
  65. - ''
  66. - ' &c* &6www.fateuhc.com'
  67. - ' &c* &6ts.fateuhc.com'
  68. - ' &c* &6store.fateuhc.com'
  69. - '&c&m--------------------------'
  70. freeze_message:
  71. - '&7&m----------------------------'
  72. - '&cYou have been &4&lFROZEN &cby staff member'
  73. - '&eYou have 3 minutes to respond and join the teamspeak'
  74. - ''
  75. - '&cTeamspeak ip: &bts.fateuhc.com'
  76. - '&7&m----------------------------'
  77. lobby:
  78. enabled: true
  79. fallback_server: 'uhcgames'
  80. leaderboards:
  81. enabled: true
  82. top_amount: 10
  83. spectate_permissions:
  84. 500x500: 'spectate.500'
  85. 750x750: 'spectate.750'
  86. 1000x100: 'spectate.1000'
  87. 1500x1500: 'spectate.1500'
  88. 2500x2500: 'spectate.2500'
  89. colors:
  90. main: '&6'
  91. secondary: '&c'
  92. middle: '&e'
  93. #===============================
  94. #This values will be applyed on plugin start
  95. #===============================
  96.  
  97. config_default_values:
  98. nether: false
  99. healTime: 10
  100. pvpTime: 20
  101. borderSize: 2000
  102. enderpearlDamage: true
  103. appleRate: 2
  104. firstShrink: 35
  105. BORDER_SHRINK_EVERY: 5
  106. BORDER_SHRINK_UNTIL: 25
  107. BORDER_SHRINK_BY: 500
  108. shears: true
  109. godApples: false
  110. goldenHeads: true
  111. strenght1: false
  112. strenght2: false
  113.  
  114. #===============================
  115. #Rules will be in /rules command
  116. #===============================
  117.  
  118. rules:
  119. iPvP:
  120. punishment: '3D ban'
  121. description:
  122. - 'You are not allowed to ipvp while pvp is not enabled'
  123. - 'That means that you''re allowed to kill or try to'
  124. - 'kill players before grace period.'
  125. Rule#2:
  126. punishment: "Rule#2 punishment"
  127. description:
  128. - 'Rule#2 description'
  129. Rule#3:
  130. punishment: "Rule#3 punishment"
  131. description:
  132. - 'Rule#3 description'
  133. Rule#4:
  134. punishment: "Rule#4 punishment"
  135. description:
  136. - 'Rule#4 description'
  137. starter_inv: t@364:a@32;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
  138. [/SPOILER]
  139.  
  140. Commands
  141. [SPOILER="Commands"]
  142. ◆ /announce - bungee announce uhc information (you will get another bungee plugin for this)
  143. ◆ /mapgen - set map generating to true or false (this will just allow peope to join or not, will not stop map generating!)
  144. ◆ /generatemap - this will reboot server, delete old uhc world and make a new one
  145. ◆ /team - main commmand for teams
  146. ◆ /teamchat - toggle team chat
  147. ◆ /sendcoords - send coords to team
  148. ◆ /teamlist - see information about team in GUI
  149. ◆ /staffalerts - toggle staff alerts. mining alerts etc.
  150. ◆ /border - shrink border
  151. ◆ /clearlagg
  152. ◆ /config - see configuration in gui
  153. ◆ /flat - make flat region in UHC world
  154. ◆ /giveall
  155. ◆ /goldenhead
  156. ◆ /health - check health of enemy
  157. ◆ /hidelocation - hide location on tab for youtubers/streamers
  158. ◆ /hidestaff - hide/unhide online staff
  159. ◆ /host - set host
  160. ◆ /kills - check your/someones kills in GUI
  161. ◆ /killscount - check amount of kills
  162. ◆ /killstop - see top 10 kills of UHC
  163. ◆ /lookup - staff command for history of players(Respawns, Mining, Deaths, Kills History)
  164. ◆ /mapgen - toggle map generating
  165. ◆ /mod - add yourself in moderator mod
  166. ◆ /respawn - respawn player
  167. ◆ /rules - check rules
  168. ◆ /scatter - scatter player
  169. ◆ /scenarios - check/toggle scenarios
  170. ◆ /startin - countdown to start scatter
  171. ◆ /startuhc - start uhc
  172. ◆ /stats - check stats of player
  173. ◆ /times - change times such as border time, border size, apple rate etc.
  174. ◆ /whitelist - whitelist players
  175. [/SPOILER]
  176.  
  177. Scenarios
  178. [SPOILER="Scenarios"]
  179. ◆ BackPacks
  180. ◆ ExtraInventory
  181. ◆ BloodDiamonds
  182. ◆ BloodEnchants
  183. ◆ Bowless
  184. ◆ Broadcaster
  185. ◆ CutClean
  186. ◆ Diamondless
  187. ◆ Doublexp
  188. ◆ Fireless
  189. ◆ FlowerPower
  190. ◆ Goldless
  191. ◆ InfiniteEnchant
  192. ◆ Ironless
  193. ◆ Limitations
  194. ◆ LimitedEnchants
  195. ◆ LuckyLeaves
  196. ◆ NoClean
  197. ◆ NoEnchant
  198. ◆ NoFall
  199. ◆ Rodless
  200. ◆ Swordless
  201. ◆ Timber
  202. ◆ TimeBomb
  203. ◆ ToInventory
  204. ◆ TreeDrop
  205. ◆ TripleOres
  206. ◆ WebCage
  207. [/SPOILER]
  208. More of scenarios will be added in future!
  209.  
  210. Features
  211. ✕ Configuration
  212. ✕ Scenarios
  213. ✕ Data saved in MongoDB
  214. ✕ AntiIPvP (message will be sent to staff if someone is trying to ipvp)
  215. ✕ Health under players name
  216. ✕ Glass Border
  217. ✕ Staff Alerts
  218. ✕ BossBar
  219. ✕ Custom Tab
  220. ✕ Rules System
  221. ✕ Top kills
  222. ✕ Leaderboards
  223. ✕ Flat 50x50, also command '/flat <radius>'
  224. ✕ Host support
  225. ✕ Starter inventory
  226. ✕ Scatterin coutdown
  227. ✕ Combat Skeleton
  228. ✕ 10 minutes relogg time
  229. ✕ Colored players name
  230. ✕ Freeze support
  231. ✕ Lobby support
  232. ✕ Colors support (Main, Secondary, Middle)
  233. ✕ So much more...
  234.  
  235. Permissions
  236. uhc.staff: staff permission for all staff commands/stuff
  237. uhc.op: permissions for ops
  238. uhc.donator: permission for all donator commands/stuff
  239. uhc.announce: permission to use announce
  240.  
  241. Spectate permissions (can be edited in config)
  242. 500x500: 'spectate.500'
  243. 750x750: 'spectate.750'
  244. 1000x100: 'spectate.1000'
  245. 1500x1500: 'spectate.1500'
  246. 2500x2500: 'spectate.2500'
  247.  
  248. Code snippets
  249. Main
  250. [CODE]package me.activated.uhc;
  251.  
  252. import me.activated.uhc.mongo.MongoManager;
  253. import me.activated.uhc.utils.StringUtils;
  254. import org.bukkit.plugin.java.JavaPlugin;
  255.  
  256. import lombok.Getter;
  257. import lombok.Setter;
  258. import me.activated.uhc.utils.Register;
  259. import me.activated.uhc.utils.command.CommandFramework;
  260. import me.activated.uhc.utils.world.WorldCreator;
  261.  
  262. @Getter
  263. @Setter
  264. public class Club extends JavaPlugin {
  265.  
  266. @Getter
  267. public static Club instance;
  268. public CommandFramework framework;
  269.  
  270. @Override
  271. public void onEnable() {
  272. instance = this;
  273. framework = new CommandFramework(this);
  274.  
  275. StringUtils.hookBungee();
  276.  
  277. new Register();
  278. new WorldCreator();
  279.  
  280. }
  281.  
  282. @Override
  283. public void onDisable() {
  284. MongoManager.getInstance().closeConnection();
  285. }
  286. }
  287. [/CODE]
  288. Media
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement