Skip to content

Commit

Permalink
added configrations for check purchase gui
Browse files Browse the repository at this point in the history
  • Loading branch information
benfiratkaya committed Dec 21, 2023
1 parent 733f84d commit 441214e
Show file tree
Hide file tree
Showing 4 changed files with 125 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,40 @@ public static class Credit extends OkaeriConfig {
*/
private String title = "&eCredits: &a%credits%";
}

/**
* ConfirmPurchase attributes
*/
private ConfirmPurchase confirmPurchase = new ConfirmPurchase();

/**
* ConfirmPurchase arguments class
*/
@Getter @Setter
public static class ConfirmPurchase extends OkaeriConfig {

/**
* Default Title
*/
private String title = "&a&lBUY";
}

/**
* CancelPurchase attributes
*/
private CancelPurchase cancelPurchase = new CancelPurchase();

/**
* AcceptPurchase arguments class
*/
@Getter @Setter
public static class CancelPurchase extends OkaeriConfig {

/**
* Default Title
*/
private String title = "&c&lCANCEL";
}
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,28 @@ public static class Credit extends OkaeriConfig {
private String material = "SUNFLOWER";

}

/**
* Check Purchase attributes
*/
private Gui.CheckPurchase checkPurchase = new Gui.CheckPurchase();

/**
* CheckPurchase arguments class
*/
@Getter @Setter
public static class CheckPurchase extends OkaeriConfig {

/**
* Confirm material
*/
private String confirmMaterial = "GREEN_WOOL";

/**
* Cancel material
*/
private String cancelMaterial = "RED_WOOL";
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,40 @@ public static class Credit extends Language.Gui.WebStoreGui.Credit {
*/
private String title = "&eCredits: &a%credits%";
}

/**
* ConfirmPurchase attributes
*/
private ConfirmPurchase confirmPurchase = new ConfirmPurchase();

/**
* ConfirmPurchase arguments class
*/
@Getter @Setter
public static class ConfirmPurchase extends Language.Gui.WebStoreGui.ConfirmPurchase {

/**
* Default Title
*/
private String title = "&a&lBUY";
}

/**
* CancelPurchase attributes
*/
private CancelPurchase cancelPurchase = new CancelPurchase();

/**
* AcceptPurchase arguments class
*/
@Getter @Setter
public static class CancelPurchase extends Language.Gui.WebStoreGui.CancelPurchase {

/**
* Default Title
*/
private String title = "&c&lCANCEL";
}
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package net.leaderos.plugin.configuration.lang;

import eu.okaeri.configs.OkaeriConfig;
import eu.okaeri.configs.annotation.Comment;
import eu.okaeri.configs.annotation.NameModifier;
import eu.okaeri.configs.annotation.NameStrategy;
Expand Down Expand Up @@ -496,6 +497,40 @@ public static class Credit extends Language.Gui.WebStoreGui.Credit {
*/
private String title = "&eKredi: &a%credits%";
}

/**
* ConfirmPurchase attributes
*/
private ConfirmPurchase confirmPurchase = new ConfirmPurchase();

/**
* ConfirmPurchase arguments class
*/
@Getter @Setter
public static class ConfirmPurchase extends Language.Gui.WebStoreGui.ConfirmPurchase {

/**
* Default Title
*/
private String title = "&a&lSATIN AL";
}

/**
* CancelPurchase attributes
*/
private CancelPurchase cancelPurchase = new CancelPurchase();

/**
* AcceptPurchase arguments class
*/
@Getter @Setter
public static class CancelPurchase extends Language.Gui.WebStoreGui.CancelPurchase {

/**
* Default Title
*/
private String title = "&c&lIPTAL ET";
}
}

/**
Expand Down

0 comments on commit 441214e

Please sign in to comment.