File tree Expand file tree Collapse file tree 9 files changed +162
-4
lines changed
src/main/java/org/maxgamer/quickshop Expand file tree Collapse file tree 9 files changed +162
-4
lines changed Original file line number Diff line number Diff line change 4949import org .jetbrains .annotations .Nullable ;
5050import org .maxgamer .quickshop .QuickShop ;
5151import org .maxgamer .quickshop .api .chat .ComponentPackage ;
52- import org .maxgamer .quickshop .api .shop .*;
5352import org .maxgamer .quickshop .api .event .*;
53+ import org .maxgamer .quickshop .api .shop .*;
5454import org .maxgamer .quickshop .util .Util ;
5555import org .maxgamer .quickshop .util .logging .container .ShopRemoveLog ;
5656
@@ -1243,9 +1243,7 @@ public String toString() {
12431243 .append (location .getBlockZ ())
12441244 .append (")" );
12451245 sb .append (" Owner: " ).append (this .ownerName (false )).append (" - " ).append (getOwner ());
1246- if (isUnlimited ()) {
1247- sb .append (" Unlimited: true" );
1248- }
1246+ sb .append (", Unlimited: " ).append (isUnlimited ());
12491247 sb .append (" Price: " ).append (getPrice ());
12501248 return sb .toString ();
12511249 }
Original file line number Diff line number Diff line change 1+ /*
2+ * This file is a part of project QuickShop, the name is EconomyTransactionLog.java
3+ * Copyright (C) PotatoCraft Studio and contributors
4+ *
5+ * This program is free software: you can redistribute it and/or modify it
6+ * under the terms of the GNU General Public License as published by the
7+ * Free Software Foundation, either version 3 of the License, or
8+ * (at your option) any later version.
9+ *
10+ * This program is distributed in the hope that it will be useful, but WITHOUT
11+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13+ * for more details.
14+ *
15+ * You should have received a copy of the GNU General Public License
16+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17+ *
18+ */
19+
120package org .maxgamer .quickshop .util .logging .container ;
221
322import lombok .AllArgsConstructor ;
1029@ Builder
1130@ Data
1231public class EconomyTransactionLog {
32+ private static int v = 1 ;
1333 private boolean success ;
1434 private UUID from ;
1535 private UUID to ;
Original file line number Diff line number Diff line change 1+ /*
2+ * This file is a part of project QuickShop, the name is PlayerEconomyPreCheckLog.java
3+ * Copyright (C) PotatoCraft Studio and contributors
4+ *
5+ * This program is free software: you can redistribute it and/or modify it
6+ * under the terms of the GNU General Public License as published by the
7+ * Free Software Foundation, either version 3 of the License, or
8+ * (at your option) any later version.
9+ *
10+ * This program is distributed in the hope that it will be useful, but WITHOUT
11+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13+ * for more details.
14+ *
15+ * You should have received a copy of the GNU General Public License
16+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17+ *
18+ */
19+
120package org .maxgamer .quickshop .util .logging .container ;
221
322import lombok .AllArgsConstructor ;
827@ AllArgsConstructor
928@ Data
1029public class PlayerEconomyPreCheckLog {
30+ private static int v = 1 ;
1131 private boolean beforeTrading ;
1232 private UUID player ;
1333 private double holding ;
Original file line number Diff line number Diff line change 1+ /*
2+ * This file is a part of project QuickShop, the name is PluginGlobalAlertLog.java
3+ * Copyright (C) PotatoCraft Studio and contributors
4+ *
5+ * This program is free software: you can redistribute it and/or modify it
6+ * under the terms of the GNU General Public License as published by the
7+ * Free Software Foundation, either version 3 of the License, or
8+ * (at your option) any later version.
9+ *
10+ * This program is distributed in the hope that it will be useful, but WITHOUT
11+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13+ * for more details.
14+ *
15+ * You should have received a copy of the GNU General Public License
16+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17+ *
18+ */
19+
120package org .maxgamer .quickshop .util .logging .container ;
221
322import lombok .AllArgsConstructor ;
625@ AllArgsConstructor
726@ Data
827public class PluginGlobalAlertLog {
28+ private static int v = 1 ;
929 private String content ;
1030}
Original file line number Diff line number Diff line change 1+ /*
2+ * This file is a part of project QuickShop, the name is ShopCreationLog.java
3+ * Copyright (C) PotatoCraft Studio and contributors
4+ *
5+ * This program is free software: you can redistribute it and/or modify it
6+ * under the terms of the GNU General Public License as published by the
7+ * Free Software Foundation, either version 3 of the License, or
8+ * (at your option) any later version.
9+ *
10+ * This program is distributed in the hope that it will be useful, but WITHOUT
11+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13+ * for more details.
14+ *
15+ * You should have received a copy of the GNU General Public License
16+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17+ *
18+ */
19+
120package org .maxgamer .quickshop .util .logging .container ;
221
322import lombok .AllArgsConstructor ;
1029@ AllArgsConstructor
1130@ Data
1231public class ShopCreationLog {
32+ private static int v = 1 ;
1333 private UUID creator ;
1434 private ShopInfoStorage shop ;
1535 private Location location ;
Original file line number Diff line number Diff line change 1+ /*
2+ * This file is a part of project QuickShop, the name is ShopModeratorChangedLog.java
3+ * Copyright (C) PotatoCraft Studio and contributors
4+ *
5+ * This program is free software: you can redistribute it and/or modify it
6+ * under the terms of the GNU General Public License as published by the
7+ * Free Software Foundation, either version 3 of the License, or
8+ * (at your option) any later version.
9+ *
10+ * This program is distributed in the hope that it will be useful, but WITHOUT
11+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13+ * for more details.
14+ *
15+ * You should have received a copy of the GNU General Public License
16+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17+ *
18+ */
19+
120package org .maxgamer .quickshop .util .logging .container ;
221
322import lombok .AllArgsConstructor ;
827@ AllArgsConstructor
928@ Data
1029public class ShopModeratorChangedLog {
30+ private static int v = 1 ;
1131 private ShopInfoStorage shop ;
1232 private JavaShopModerator moderator ;
1333}
Original file line number Diff line number Diff line change 1+ /*
2+ * This file is a part of project QuickShop, the name is ShopPriceChangedLog.java
3+ * Copyright (C) PotatoCraft Studio and contributors
4+ *
5+ * This program is free software: you can redistribute it and/or modify it
6+ * under the terms of the GNU General Public License as published by the
7+ * Free Software Foundation, either version 3 of the License, or
8+ * (at your option) any later version.
9+ *
10+ * This program is distributed in the hope that it will be useful, but WITHOUT
11+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13+ * for more details.
14+ *
15+ * You should have received a copy of the GNU General Public License
16+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17+ *
18+ */
19+
120package org .maxgamer .quickshop .util .logging .container ;
221
322import lombok .AllArgsConstructor ;
726@ AllArgsConstructor
827@ Data
928public class ShopPriceChangedLog {
29+ private static int v = 1 ;
1030 private ShopInfoStorage shop ;
1131 private double oldPrice ;
1232 private double newPrice ;
Original file line number Diff line number Diff line change 1+ /*
2+ * This file is a part of project QuickShop, the name is ShopPurchaseLog.java
3+ * Copyright (C) PotatoCraft Studio and contributors
4+ *
5+ * This program is free software: you can redistribute it and/or modify it
6+ * under the terms of the GNU General Public License as published by the
7+ * Free Software Foundation, either version 3 of the License, or
8+ * (at your option) any later version.
9+ *
10+ * This program is distributed in the hope that it will be useful, but WITHOUT
11+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13+ * for more details.
14+ *
15+ * You should have received a copy of the GNU General Public License
16+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17+ *
18+ */
19+
120package org .maxgamer .quickshop .util .logging .container ;
221
322import lombok .AllArgsConstructor ;
1029@ AllArgsConstructor
1130@ Data
1231public class ShopPurchaseLog {
32+ private static int v = 1 ;
1333 private ShopInfoStorage shop ;
1434 private ShopType type ;
1535 private UUID trader ;
Original file line number Diff line number Diff line change 1+ /*
2+ * This file is a part of project QuickShop, the name is ShopRemoveLog.java
3+ * Copyright (C) PotatoCraft Studio and contributors
4+ *
5+ * This program is free software: you can redistribute it and/or modify it
6+ * under the terms of the GNU General Public License as published by the
7+ * Free Software Foundation, either version 3 of the License, or
8+ * (at your option) any later version.
9+ *
10+ * This program is distributed in the hope that it will be useful, but WITHOUT
11+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13+ * for more details.
14+ *
15+ * You should have received a copy of the GNU General Public License
16+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17+ *
18+ */
19+
120package org .maxgamer .quickshop .util .logging .container ;
221
322import lombok .AllArgsConstructor ;
928@ AllArgsConstructor
1029@ Data
1130public class ShopRemoveLog {
31+ private static int v = 1 ;
1232 private UUID player ;
1333 private String reason ;
1434 private ShopInfoStorage shop ;
You can’t perform that action at this time.
0 commit comments