This Plugin might be difficult to make In this plugin when you first join a the server you get assigned a villager job and when you click j on your keyboard it'll open your own villager trading gui of the villager job you got assigned when you first join the server. Instead of upgrading by trading you upgrade your trade gui by killing other players each kill upgrades your trade gui to the next level. Also Make it so all villagers are unable to get jobs.
You can't handle player's keyboard on server-side. Whether a player's villager job is random or defined in other way? Which version?