Troubleshooting
Common Issues and Solutions
Issue: "Message not found" errors
- Cause: Language file not loaded correctly
- Solution: Delete plugin folder and restart server
- Prevention: Don't edit message files while server is running
Issue: Items showing $0.00 or 0 points
- Cause: Price not extracted from lore correctly
- Solution: Re-edit shop and set prices again
- Note: Fixed in latest version (supports EN and PT-BR)
Issue: "Shop owner doesn't have enough items"
- Cause: Owner doesn't have trade items for SELL shop
- Solution: Owner must have items in inventory
- Note: This is intentional - owner must supply items
Issue: Duplicate items in GUI
- Cause: Clicking in player inventory with shift-click
- Solution: Use drag-and-drop instead
- Note: Fixed in latest version
Issue: Can't click barrier in trade GUI
- Cause: PendingTradeInfo not set correctly
- Solution: Update to latest version
- Note: Fixed in latest version
Issue: Vault/PlayerPoints not working
- Cause: Plugin not installed or not loaded
- Solution:
- Install Vault + Economy plugin (for Vault)
- Install PlayerPoints (for points)
- Restart server
- Check console for "economy provider found" message
Issue: Permission denied
- Cause: Missing permissions
- Solution: Grant appropriate permissions:
dklojaplayer.admin- Full accessdklojaplayer.create- Create shopsdklojaplayer.use- Use shops
Debug Mode
Enable debug mode for detailed logging:
debug: true
This shows:
- Transaction details
- Inventory checks
- Price calculations
- Item transfers
- Error details
Remember to disable after troubleshooting!
Getting Help
- Check console logs - Look for errors or warnings
- Enable debug mode - Get detailed information
- Verify permissions - Ensure players have correct permissions
- Check dependencies - Vault, PlayerPoints installed correctly
- Test with admin - See if issue is permission-related