11/*
2- * Copyright (c) Refrac
3- * If you have any questions please join my discord https://discord.gg/jVnmm7QnQU
2+ * The MIT License (MIT)
3+ *
4+ * Copyright (c) 2022 RefracDevelopment
5+ *
6+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7+ * of this software and associated documentation files (the "Software"), to deal
8+ * in the Software without restriction, including without limitation the rights
9+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+ * copies of the Software, and to permit persons to whom the Software is
11+ * furnished to do so, subject to the following conditions:
12+ *
13+ * The above copyright notice and this permission notice shall be included in
14+ * all copies or substantial portions of the Software.
15+ *
16+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
17+ * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
18+ * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
19+ * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
20+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
421 */
522package me .refrac .simplegems .api ;
623
@@ -54,18 +71,6 @@ public void payGems(Player player, Player target, double amount, boolean silent)
5471 throw new IllegalPluginAccessException ("API is not registered!" );
5572 }
5673
57- /**
58- * This will give gems in item form
59- * to the player who withdraw them or
60- * received them by doing events etc
61- *
62- * @param player player profile
63- * @param amount withdrawal gems
64- */
65- public void withdrawGems (Player player , int amount ) {
66- throw new IllegalPluginAccessException ("API is not registered!" );
67- }
68-
6974 /**
7075 * This will give gems in item form
7176 * to the player who withdraw them or
@@ -78,17 +83,6 @@ public void giveGemsItem(Player player, int amount) {
7883 throw new IllegalPluginAccessException ("API is not registered!" );
7984 }
8085
81- /**
82- * This will give gems in item form
83- * to the player who withdraw them or
84- * received them by doing events etc
85- *
86- * @return an item stack to redeem gems
87- */
88- public ItemStack getGemsItem () {
89- throw new IllegalPluginAccessException ("API is not registered!" );
90- }
91-
9286 /**
9387 * Used to check if the player has enough gems
9488 *
0 commit comments