-
Notifications
You must be signed in to change notification settings - Fork 5
[REFERENCE ONLY DO NOT REVIEW!!!] Implement Mojang WebAPI, common user root class, and playerheads #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
[REFERENCE ONLY DO NOT REVIEW!!!] Implement Mojang WebAPI, common user root class, and playerheads #56
Changes from 2 commits
5972a00
b8a5bf6
8dae48a
7d74d10
3db73ff
004fbf0
b014f6b
329515f
ab69d97
67a9c4b
680655b
8c113ec
ac010e4
0b15f04
b6f0496
6d4bcec
c4a023e
0fb226b
c44992f
b278a81
8c6b7b5
786590d
cacaefb
ade9f94
223a6f9
84c0b3b
6b4316f
42b1739
d16c439
3aaa25b
6fc4385
263164b
26c8415
614816b
e6a97e1
94683c6
aa23150
7f2cab7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| /* | ||
| * Copyright (c) 2020 DumbDogDiner <dumbdogdiner.com>. All rights reserved. | ||
| * Licensed under the MIT license, see LICENSE for more information... | ||
| */ | ||
| package com.dumbdogdiner.stickyapi.bukkit.item.generator; | ||
|
|
||
| import com.destroystokyo.paper.profile.PlayerProfile; | ||
| import com.destroystokyo.paper.profile.ProfileProperty; | ||
| import com.dumbdogdiner.stickyapi.common.util.textures.MobHead; | ||
| import org.bukkit.Bukkit; | ||
| import org.bukkit.Material; | ||
| import org.bukkit.inventory.ItemStack; | ||
| import org.bukkit.inventory.meta.SkullMeta; | ||
|
|
||
| import java.util.UUID; | ||
|
|
||
| public class MobHeadGenerator { | ||
|
||
| private SkullMeta meta = (SkullMeta) (new ItemStack(Material.PLAYER_HEAD, 1)).getItemMeta(); | ||
| private PlayerProfile profile = Bukkit.createProfile(new UUID(0,0), null); | ||
|
|
||
|
|
||
|
|
||
| public MobHeadGenerator(MobHead head){ | ||
| profile.setName(head.getName()); | ||
| profile.setProperty(new ProfileProperty("texture", head.getTexture())); | ||
| meta.setPlayerProfile(profile); | ||
| meta.setDisplayName(head.getName()); | ||
| } | ||
|
|
||
| public ItemStack getHead(){ | ||
| return getHead(1); | ||
| } | ||
|
|
||
| public ItemStack getHead(int amount){ | ||
| ItemStack head = new ItemStack(Material.PLAYER_HEAD, amount); | ||
| head.setItemMeta(meta); | ||
| return null; | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,96 @@ | ||||||||||
| /* | ||||||||||
| * Copyright (c) 2020 DumbDogDiner <dumbdogdiner.com>. All rights reserved. | ||||||||||
| * Licensed under the MIT license, see LICENSE for more information... | ||||||||||
| */ | ||||||||||
| package com.dumbdogdiner.stickyapi.bukkit.item.generator; | ||||||||||
|
|
||||||||||
| import com.destroystokyo.paper.profile.PlayerProfile; | ||||||||||
| import com.destroystokyo.paper.profile.ProfileProperty; | ||||||||||
| import com.dumbdogdiner.stickyapi.bukkit.user.StickyUserBukkit; | ||||||||||
| import org.bukkit.Bukkit; | ||||||||||
| import org.bukkit.Material; | ||||||||||
| import org.bukkit.OfflinePlayer; | ||||||||||
| import org.bukkit.entity.Player; | ||||||||||
| import org.bukkit.inventory.ItemStack; | ||||||||||
| import org.bukkit.inventory.meta.SkullMeta; | ||||||||||
| import com.google.gson.Gson; | ||||||||||
|
|
||||||||||
| import java.net.URL; | ||||||||||
| import java.util.Base64; | ||||||||||
| import java.util.UUID; | ||||||||||
|
|
||||||||||
| public class PlayerHeadGenerator { | ||||||||||
|
||||||||||
| private SkullMeta meta = (SkullMeta) (new ItemStack(Material.PLAYER_HEAD, 1)).getItemMeta(); | ||||||||||
|
|
||||||||||
| PlayerProfile ownerProfile; | ||||||||||
kaylendog marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||
|
|
||||||||||
| public PlayerHeadGenerator(UUID playerId){ | ||||||||||
|
||||||||||
| public PlayerHeadGenerator(UUID playerId){ | |
| public PlayerHeadGenerator(@NotNull UUID playerId) { |
Use annotations please, this is for Kotlin support.
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public PlayerHeadGenerator(Player player){ | |
| public PlayerHeadGenerator(@NotNull Player player) { |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There must be a better way to do this aside from implementing an API-specific user.
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public PlayerHeadGenerator(OfflinePlayer player){ | |
| public PlayerHeadGenerator(@NotNull OfflinePlayer player) { |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public PlayerHeadGenerator(ItemStack head){ | |
| public PlayerHeadGenerator(@NotNull ItemStack head) { |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public void setTexture(URL textureURL){ | |
| public void setTexture(@NotNull URL textureURL) { |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public textures(String url){ | |
| public textures(@NotNull String url) { |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| class SKIN{ | |
| class SKIN { |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public SKIN(String s){ | |
| public SKIN(String s) { |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public SKIN(String s){ | |
| public SKIN(@NotNull String s) { |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public void setTexture(String texture){ | |
| public void setTexture(String texture) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public void setTexture(String texture){ | |
| public void setTexture(@NotNull String texture) { |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public ItemStack getHead(){ | |
| public ItemStack getHead() { |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public ItemStack getHead(int amount){ | |
| public ItemStack getHead(int amount) { |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public ItemStack getHead(int amount){ | |
| public ItemStack getHead(@NotNull int amount) { |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,81 @@ | ||||||
| /* | ||||||
| * Copyright (c) 2020 DumbDogDiner <dumbdogdiner.com>. All rights reserved. | ||||||
| * Licensed under the MIT license, see LICENSE for more information... | ||||||
| */ | ||||||
| package com.dumbdogdiner.stickyapi.bukkit.user; | ||||||
|
|
||||||
| import com.dumbdogdiner.stickyapi.bukkit.item.generator.PlayerHeadGenerator; | ||||||
| import com.dumbdogdiner.stickyapi.common.user.StickyUser; | ||||||
| import org.bukkit.Bukkit; | ||||||
| import org.bukkit.Location; | ||||||
| import org.bukkit.OfflinePlayer; | ||||||
| import org.bukkit.Sound; | ||||||
| import org.bukkit.entity.Player; | ||||||
| import org.bukkit.inventory.ItemStack; | ||||||
| import org.jetbrains.annotations.NotNull; | ||||||
|
|
||||||
| import java.util.UUID; | ||||||
|
|
||||||
| public class StickyUserBukkit extends StickyUser { | ||||||
|
||||||
| public StickyUserBukkit(Player p) { | ||||||
| super(p.getUniqueId(), p.getName()); | ||||||
| } | ||||||
|
|
||||||
| public StickyUserBukkit(OfflinePlayer p) { | ||||||
| super(p.getUniqueId(), p.getName()); | ||||||
| } | ||||||
|
|
||||||
| public StickyUserBukkit(StickyUser p){ | ||||||
| super(p); | ||||||
| } | ||||||
|
|
||||||
| public StickyUserBukkit(UUID uniqueId){ | ||||||
| super(uniqueId); | ||||||
| } | ||||||
|
|
||||||
| public boolean isOnline(){ | ||||||
| return getAsOfflinePlayer().isOnline(); | ||||||
| } | ||||||
|
|
||||||
| public boolean isBanned(){ | ||||||
| return getAsOfflinePlayer().isBanned(); | ||||||
| } | ||||||
|
|
||||||
| public boolean playSound(@NotNull Location location, @NotNull Sound sound, float v, float v1){ | ||||||
|
||||||
| public boolean playSound(@NotNull Location location, @NotNull Sound sound, float v, float v1){ | |
| public boolean playSound(@NotNull Location location, @NotNull Sound sound, float v, float v1) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A more explicit variable name for v and v1 would also be nice. I have no idea what those are.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NotZachery this is your code, I moved it here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v is volume and v1 is pitch according to Spigot's javadoc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't matter who wrote it, a more explicit variable name would be preferable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public boolean sendMessage(String [] msgs){ | |
| public boolean sendMessage(String[] msgs) { |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public boolean sendMessage(String msg){ | |
| public boolean sendMessage(String msg) { |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| /* | ||
| * Copyright (c) 2020 DumbDogDiner <dumbdogdiner.com>. All rights reserved. | ||
| * Licensed under the MIT license, see LICENSE for more information... | ||
| */ | ||
| package com.dumbdogdiner.stickyapi.bungeecord.user; | ||
|
|
||
| import com.dumbdogdiner.stickyapi.common.user.StickyUser; | ||
| import com.dumbdogdiner.stickyapi.common.webapis.MojangAPI; | ||
| import net.md_5.bungee.api.ProxyServer; | ||
| import net.md_5.bungee.api.connection.ProxiedPlayer; | ||
|
|
||
| import java.util.UUID; | ||
|
|
||
| public class StickyUserBungee extends StickyUser { | ||
|
||
| public StickyUserBungee(UUID uniqueId) { | ||
| super(uniqueId); | ||
| } | ||
|
|
||
| public StickyUserBungee(ProxiedPlayer p) { | ||
| super(p.getUniqueId(), p.getName()); | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| /* | ||
| * Copyright (c) 2020 DumbDogDiner <dumbdogdiner.com>. All rights reserved. | ||
| * Licensed under the MIT license, see LICENSE for more information... | ||
| */ | ||
| package com.dumbdogdiner.stickyapi.common.user; | ||
|
|
||
| import com.dumbdogdiner.stickyapi.bukkit.user.StickyUserBukkit; | ||
| import com.dumbdogdiner.stickyapi.common.cache.Cacheable; | ||
| import lombok.Getter; | ||
| import org.bukkit.Bukkit; | ||
| import org.bukkit.OfflinePlayer; | ||
| import org.bukkit.entity.Player; | ||
|
|
||
| import java.util.UUID; | ||
|
|
||
| public class StickyUser implements Cacheable { | ||
|
||
| @Getter | ||
| protected UUID uniqueId; | ||
|
|
||
| @Getter | ||
| protected String name; | ||
|
|
||
| public StickyUser(UUID uniqueId) { | ||
| this.uniqueId = uniqueId; | ||
| this.name = null; | ||
| } | ||
|
|
||
| public StickyUser(StickyUser p){ | ||
| uniqueId = p.getUniqueId(); | ||
| name = p.getName(); | ||
| } | ||
|
|
||
| protected StickyUser(UUID uniqueId, String userName) { | ||
| this.uniqueId = uniqueId; | ||
| this.name = userName; | ||
| } | ||
|
|
||
|
|
||
| public Player getAsBukkitPlayer(){ | ||
| return Bukkit.getPlayer(uniqueId); | ||
| } | ||
|
|
||
| public OfflinePlayer getAsOfflinePlayer(){ | ||
| return Bukkit.getOfflinePlayer(uniqueId); | ||
| } | ||
|
|
||
| public StickyUserBukkit getAsBukkitUser(){ | ||
| return new StickyUserBukkit(this); | ||
| } | ||
|
|
||
| @Override | ||
| public String getKey() { | ||
| return uniqueId.toString(); | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,18 @@ | ||||||
| /* | ||||||
| * Copyright (c) 2020 DumbDogDiner <dumbdogdiner.com>. All rights reserved. | ||||||
| * Licensed under the MIT license, see LICENSE for more information... | ||||||
| */ | ||||||
| package com.dumbdogdiner.stickyapi.common.util.textures; | ||||||
|
|
||||||
| import lombok.Getter; | ||||||
|
|
||||||
| public enum DefaultSkins { | ||||||
kaylendog marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| STEVE("iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAL60lEQVR4Xu2aS2yVxxXHYddiSCFq1QiSgEKaUJLKTZNNiNrS0jQ0qkDYvGzAgA0YDLbBvBsqURo1oZXarrKIjCp1WbWrvhZV6C57qHiDASEkEOL9fk7v74z/351v7nf93WsuLo18pKOZb+bMmfOa+eY1YkQOTH1hjANffu5LlioPThxb5za/Vz8gxvyqhc7OTrd27Vq3Zs0aQ/Lr1q1zlIOLFy92y5YtS+qFlFEX8yvCyLggG6Rw/cSvGIYGAFGyY/q33a8a30pSsFYGaG9vdytWrDCFWlpaDFtbWx3lGAMlZYQQVe65VKhsFqCwlH9lfF1ZA0yePDmFlNXCAB0dHebp7u7uAna5rq4uiwAh31I2RupiflWDvJ8eBqOTsidtgA0bNpgiq1evNs8uWrTILVmyxK1atcrKZYB58+alsGYGUASQvjJ+lGE4HMob4I0cA1QWloxnPE0EoBDfKM8QIK+y2ACqi/lVDZr4YuXzDNAw5dUcA1QGeH7lypVu6dKl5v3m5mbLMzR6enoGVHKguopByqPwN58fbfmJY/13aIBSzIqAyrweAt5nsgNRWuN+/fr1ZoCYv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B/Jr7HG7JDGdQxWyDr+Dyr3bfCOgtWhQGkE6pucK5sMqTVBvwH+QeX13iz8VkAAAAASUVORK5CYII="); | ||||||
|
|
||||||
| @Getter | ||||||
| private final String texture; | ||||||
| DefaultSkins(String t) { | ||||||
|
||||||
| DefaultSkins(String t) { | |
| DefaultSkins(@NotNull String t) { |
Uh oh!
There was an error while loading. Please reload this page.