MCPcopy Index your code
hub / github.com/DevDrizzy/PotPvPReprised

github.com/DevDrizzy/PotPvPReprised @1.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.2 ↗ · + Follow
1,751 symbols 5,182 edges 298 files 227 documented · 13%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

PotPvP Reprised

A fork of PotPvP, porting it to 1.8 and changing mSpigot's dependency to CarbonSpigot.

Information

This fork has also changed all APIs utilized by the plugin like Scoreboard and NameTagAPI. Meanwhile, I have removed TablistAPI because I don't have an API that I can give out for free. Although in the future, I might add an open source TablistAPI in this later but right now I don't have the time to do that.

If you want access to the APIs in "refine" branch of this project to able to use it, please contact me in DMs. I'm willing to sell our private TablistAPI along with providing general setup support for the branch.

Changes

  • Added UN-TESTED holograms w/config (Translate text with CC.translate and register the update task to fix)
  • Removed Redis and its usages
  • Removed PlayerMoveEvent usage to hold player at spawn point and utilized PlayerUtil#denyMovement
  • Removed Token based Stats resetting and made it admin only
  • Completely changed all permissions
  • New CommandAPI
  • Ported NameTagAPI
  • Removed a lot of junk from kotlin qLib
  • Removed unused dependencies
  • Cleaned up general code
  • Changed from Fanciful API to Clickable Util
  • Removed Tablist and its API (Reason: Incompatibility and time shortage)

Compiling

You are required to compile this with Java 8+ and must use maven.

Secondly, this also requires Refine's fork of Drink CommandAPI. You can download it here,

Download Here

Thirdly, this also requires Refine's NameTagAPI. You can download it here,

Download Here

After downloading, run this maven command with cmd or your IDE. (FOR COMMANDAPI)

mvn install:install-file -Dfile=<DOWNLOADED JAR FILE LOCATION.jar> -DgroupId=xyz.refinedev.api -DartifactId=CommandAPI -Dversion=1.1-SNAPSHOT -Dpackaging=jar

(FOR NAMETAGAPI)

mvn install:install-file -Dfile=<DOWNLOADED JAR FILE LOCATION.jar> -DgroupId=xyz.refinedev.api -DartifactId=NameTagAPI -Dversion=1.2-SNAPSHOT -Dpackaging=jar

Note

I don't claim ANY ownership on this code, I have simply ported this to 1.8 with a few additions as my code. All ownership goes to Hylist/FrozenOrb. I made this open source because PotPvP forks are going all around the community being sold left to right, no point in having it privately saved.

Credit goes to FrozenOrb/HylistGames

Using this on your servers or forking it (and selling that fork) is allowed as far as I can give authority. All I ask is you keep the original developers' credits in there along with mine in there as "DevDrizzy". Not having these credits will be considered as you skidding this.

Dependency

As many developers know that PotPvP requires qLib and mSpigot to function. While, qLib was removed and converted to kotlin in PotPvP-SI, mSpigot was never changed and remained as is for years. I changed this by porting PotPvP to 1.8 and replacing mSpigot with my own, CarbonSpigot, which supports the "Chunk Snapshots" required by PotPvP to handle arenas properly.

Now, you may try to replicate it, but I highly doubt you will succeed in getting the same results as Carbon. So due to this, You are required to purchase CarbonSpigot in order to use this. But, by all means, using your own fork is not forbidden in any way.

Extension points exported contracts — how you extend this code

PotPvPCommand (Interface)
This Project is property of Refine Development © 2021 - 2022 Redistribution of this Project is not allowed @author Driz [62 …
src/main/java/net/frozenorb/potpvp/command/PotPvPCommand.java
ScoreFunction (Interface)
(no doc) [6 implementers]
src/main/java/net/frozenorb/potpvp/util/scoreboard/construct/ScoreFunction.java
IUUIDCache (Interface)
(no doc) [4 implementers]
src/main/java/net/frozenorb/potpvp/util/uuid/IUUIDCache.java
EloRepository (Interface)
(no doc) [2 implementers]
src/main/java/net/frozenorb/potpvp/profile/elo/repository/EloRepository.java
SettingRepository (Interface)
(no doc) [2 implementers]
src/main/java/net/frozenorb/potpvp/profile/setting/repository/SettingRepository.java

Core symbols most depended-on inside this repo

get
called by 209
src/main/java/net/frozenorb/potpvp/util/menu/Attributes.java
add
called by 201
src/main/java/net/frozenorb/potpvp/util/Clickable.java
size
called by 118
src/main/java/net/frozenorb/potpvp/util/menu/Menu.java
of
called by 109
src/main/java/net/frozenorb/potpvp/util/ItemBuilder.java
remove
called by 95
src/main/java/net/frozenorb/potpvp/pvpclasses/PvPClass.java
toString
called by 75
src/main/java/net/frozenorb/potpvp/util/Cuboid.java
equals
called by 73
src/main/java/net/frozenorb/potpvp/arena/Arena.java
name
called by 70
src/main/java/net/frozenorb/potpvp/util/uuid/IUUIDCache.java

Shape

Method 1,432
Class 296
Enum 16
Interface 7

Languages

Java100%

Modules by API surface

src/main/java/net/frozenorb/potpvp/util/Cuboid.java45 symbols
src/main/java/net/frozenorb/potpvp/util/menu/Attributes.java43 symbols
src/main/java/net/frozenorb/potpvp/match/Match.java28 symbols
src/main/java/net/frozenorb/potpvp/util/ItemUtils.java20 symbols
src/main/java/net/frozenorb/potpvp/util/FancyPlayerInventory.java20 symbols
src/main/java/net/frozenorb/potpvp/listener/BasicPreventionListener.java20 symbols
src/main/java/net/frozenorb/potpvp/party/Party.java19 symbols
src/main/java/net/frozenorb/potpvp/command/impl/PartyCommands.java19 symbols
src/main/java/net/frozenorb/potpvp/validation/PotPvPValidation.java18 symbols
src/main/java/net/frozenorb/potpvp/adapter/scoreboard/MatchScoreGetter.java18 symbols
src/main/java/net/frozenorb/potpvp/arena/ArenaHandler.java17 symbols
src/main/java/net/frozenorb/potpvp/tournament/Tournament.java15 symbols

Datastores touched

(mongodb)Database · 1 repos
PotPvPRPDatabase · 1 repos

For agents

$ claude mcp add PotPvPReprised \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact